Cyrus Najmabadi
ceeeb9cd11
Always preserve new lines for array and object literals and additional constructs like blocks.
2015-03-26 13:46:35 -07:00
Cyrus Najmabadi
d8d4719765
Add experimental option to cache the .length access in downlevel for-of emit.
2015-03-13 16:15:25 -07:00
Cyrus Najmabadi
6e8d80f159
tests for newline preservation.
2015-03-08 19:26:33 -07:00
Cyrus Najmabadi
c371f1e521
Make the preservation of formatting an optional experimental compiler flag.
2015-03-08 19:06:55 -07:00
Cyrus Najmabadi
95702a89a7
Fix spelling of 'Filename' to be 'FileName'.
2015-02-03 16:08:46 -08:00
Cyrus Najmabadi
838b9b6998
Provide an experimental flag that allows us to emit declarations except for nodes marked with '@internal'.
2015-02-03 13:15:28 -08:00
Anders Hejlsberg
960d92f9b6
Default to all files only when none are specified in tsconfig.json
2015-01-15 17:12:45 -08:00
Anders Hejlsberg
65452aa011
Hardening compiler to accept empty CompilerOptions object
2015-01-15 15:57:08 -08:00
Anders Hejlsberg
f9f95ba614
Support for tsconfig.json files in command-line compiler
2015-01-15 13:22:23 -08:00
Lorant Pinter
47b8deb382
Show --noImplicitAny as an option to throw errors, not warnings
...
Fixes #1632
2015-01-11 11:14:06 +01:00
Arnavion
dbe5cd0459
Add -noEmit compiler flag.
2014-12-16 20:25:19 -08:00
Vladimir Matveev
53bdd562c8
remove trailing comma
2014-12-11 17:47:29 -08:00
Mohamed Hegazy
d2c7c01ff3
Respond to code review commments
2014-12-10 17:51:14 -08:00
Mohamed Hegazy
b0574cbdf9
Respond to code review comments
2014-12-10 12:37:09 -08:00
Mohamed Hegazy
0a1eabc9aa
Add new compiler flag to suppress noImplicitAny errors for object access
2014-12-09 14:08:44 -08:00
Yui T
d50ce1cb47
Refactoring compiler utility-related files to use short-hand
2014-11-18 12:05:40 -08:00
Dick van den Brink
e7bb2e0ba7
Merge branch 'master' into warnaserror
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/types.ts
src/harness/harness.ts
2014-11-16 22:02:00 +01:00
vladima
4d354c0286
addressed CR feedback: adjusted text of error messages, added description to 'preserveConstEnums' command line argument
2014-11-03 11:13:32 -08:00
Vladimir Matveev
e949eda583
const enums, iteration 1: const enums can be used in imports, const enums can be merged only with const enums.
2014-10-29 00:17:16 -07:00
Vladimir Matveev
6f4ea86227
merge with master
2014-10-28 21:49:58 -07:00
Dick van den Brink
e4f57569b7
addressed feedback
2014-10-28 19:45:18 +01:00
Anders Hejlsberg
1fede10b6c
Use of union types and type aliases in compiler
2014-10-28 11:40:54 -07:00
Vladimir Matveev
2dd9511b0a
'const enum' iteration 0. TODO: allow and track const enums in imports, add more tests
2014-10-27 23:56:07 -07:00
Dick van den Brink
bd2c5965f5
Changed name to noEmitOnError
2014-10-27 20:48:46 +01:00
Dick van den Brink
417555c9e9
implemented treat warning as errors commandline option (warnaserror).
2014-10-26 14:53:26 +01:00
Vladimir Matveev
97460f5123
handle non-qualified names, add 'propagateEnumConstants' command line option
2014-10-25 17:26:24 -07:00
Mohamed Hegazy
873c1df74b
Add es6 target
2014-10-11 12:52:42 -07:00
Harald Niesche
a85d28628b
fix typo: sourcemap -> sourceMap
2014-08-10 14:02:49 +02:00
Mohamed Hegazy
9222711ace
change name of the flag to emitBOM
2014-08-06 14:24:47 -07:00
Mohamed Hegazy
f125ee20bb
Merge branch 'master' into bom
...
Conflicts:
src/compiler/commandLineParser.ts
src/compiler/emitter.ts
2014-08-06 12:55:57 -07:00
Mohamed Hegazy
b1335e1795
add generateBOM switch
2014-08-06 11:37:59 -07:00
Daniel Rosenwasser
a64db42337
Got rid of that cscript-breaking comma.
2014-08-04 12:28:46 -07:00
Anders Hejlsberg
1e586134f7
Removing trailing comma that breaks cscript.exe.
2014-08-04 11:18:00 -07:00
Daniel Rosenwasser
2dd9763bad
Implemented --help.
2014-08-01 17:33:14 -07:00
Daniel Rosenwasser
617910b3d4
Support the '--watch' compiler flag.
2014-07-31 14:57:54 -07:00
Jason Freeman
837a8935c7
Remove error about missing module flag from checker
2014-07-21 09:40:38 -07:00
Anders Hejlsberg
c1d0fd979d
More I/O fixes
...
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Mohamed Hegazy
214df64e28
Add snapshot of compiler sources
2014-07-12 17:30:19 -07:00