Mohamed Hegazy
132cd276d1
consistentlly compute the length of an unterminated multiline comment
2014-08-07 23:44:34 -07:00
Mohamed Hegazy
39046fa2d1
Merge pull request #395 from DickvdBrink/code-style
...
Added missing semicolons
2014-08-07 17:23:10 -07:00
Jason Freeman
cc7ca33eef
Simplify checking for octal literals in parser
2014-08-07 12:49:52 -07:00
Jason Freeman
92f7c98adb
Merge branch 'master' into octal
2014-08-07 12:11:13 -07:00
Dick van den Brink
e0f738429f
Added missing semicolons
2014-08-07 21:08:38 +02:00
Jason Freeman
b1f71e6504
Address feedback
2014-08-07 12:08:31 -07:00
Vladimir Matveev
02d0b024c6
Merge pull request #378 from Microsoft/inherited_overloads_with_specialized_signatures
...
do not reorder signatures from derived and base types
2014-08-07 10:35:47 -07:00
Vladimir Matveev
e642086d56
fix comment
2014-08-07 10:26:18 -07:00
Mohamed Hegazy
9e6cacb701
Merge branch 'master' into bom
2014-08-06 22:50:40 -07:00
Jason Freeman
72cf78f681
Error on octal literals in ES5 and strict mode
2014-08-06 18:10:16 -07:00
Jason Freeman
f744113edf
Scan octal literals
2014-08-06 18:10:11 -07:00
Daniel Rosenwasser
893940cedf
Merge pull request #367 from Microsoft/theDisintegrationOfThePersistenceOfMemory
...
Fixed memory leak when using '--watch' flag.
2014-08-06 16:28:27 -07:00
Daniel Rosenwasser
eaa28feefd
Style and comments.
2014-08-06 14:29:43 -07:00
Mohamed Hegazy
9222711ace
change name of the flag to emitBOM
2014-08-06 14:24:47 -07:00
Vladimir Matveev
236e24b468
do not reorder signatures from derived and base types
2014-08-06 13:39:09 -07:00
Daniel Rosenwasser
bd06e77b18
Addressed code review feedback.
2014-08-06 13:22:18 -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
a4a773a352
make the BOM visible in the test output
2014-08-06 12:36:39 -07:00
Mohamed Hegazy
35c1577ff5
Add tests for generateBOM switch
2014-08-06 12:05:01 -07:00
Daniel Rosenwasser
3ad6e31aa5
Merge pull request #351 from Microsoft/wontYouPleasePleaseHelpMe
...
Support the '--help' compiler flag.
2014-08-06 11:59:18 -07:00
Sheetal Nandi
5c4009a163
Merge pull request #161 from Microsoft/privacyErrors
...
Report errors for usage of private types when generating declaration file
2014-08-06 11:51:55 -07:00
Mohamed Hegazy
b1335e1795
add generateBOM switch
2014-08-06 11:37:59 -07:00
Sheetal Nandi
e31aa9e12a
Added more comments and todos as per code review feedback
2014-08-06 11:26:34 -07:00
Mohamed Hegazy
63b835a7a9
Remove ByteOrderMark
2014-08-06 11:13:49 -07:00
Daniel Rosenwasser
6f563b7af9
Fixed memory leak from '--watch' flag.
...
As I initially feared, we were actually nesting closure environments with each new `getSourceFile`.
Fixes #366 .
2014-08-05 18:28:48 -07:00
Daniel Rosenwasser
a24b175586
Perform an explicit return just in case sys.exit fails.
2014-08-05 16:40:04 -07:00
Anders Hejlsberg
a2a6b8a410
Support extensionless <reference> comments.
...
Fixes #344 .
2014-08-05 14:32:53 -07:00
Daniel Rosenwasser
81c4b0b900
Merge branch 'master' into wontYouPleasePleaseHelpMe
...
Conflicts:
src/compiler/commandLineParser.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
2014-08-05 12:50:16 -07:00
Daniel Rosenwasser
078e49dd8b
Explicitly supply generic argument for 'compareValues'.
2014-08-04 18:29:58 -07:00
Daniel Rosenwasser
a1a1ea3f96
Fixed up duplicate diagnostic.
2014-08-04 18:23:59 -07:00
Daniel Rosenwasser
348d0fca21
Addressed code review feedback.
2014-08-04 17:52:58 -07:00
Mohamed Hegazy
0c9510e6f1
Wire cleanupSemanticCache
2014-08-04 17:23:09 -07:00
Mohamed Hegazy
93a48a314e
respond to code review comments
2014-08-04 16:56:58 -07:00
Mohamed Hegazy
acfcf40735
Add uptodate checks for program object to avoid recomputation if not needed
2014-08-04 16:09:25 -07:00
Daniel Rosenwasser
40f6ed0b65
Merge pull request #262 from Microsoft/trylessCatchesFinallyParseNicely
...
Improved errors for 'catch'/'finally' blocks missing 'try' statements
2014-08-04 15:56:20 -07:00
Mohamed Hegazy
21fb3bc675
Update check for syntax tree existance
2014-08-04 15:36:26 -07:00
Mohamed Hegazy
ab05b75297
Merge pull request #326 from Microsoft/getDefinition
...
Wire getDefinitionAtPosition using the new compiler implementation
2014-08-04 15:11:58 -07:00
Vladimir Matveev
017a76bd85
Merge pull request #357 from Microsoft/specialized_signatures
...
fixed check for call\construct signatures in interfaces
2014-08-04 15:11:44 -07:00
Mohamed Hegazy
2ae1432644
Merge branch 'master' into getDefinition
2014-08-04 15:08:26 -07:00
Mohamed Hegazy
a48ec090ae
add missing semicolons
2014-08-04 15:07:42 -07:00
Vladimir Matveev
3fc10ed809
fix misplaced brackets
2014-08-04 15:05:15 -07:00
Vladimir Matveev
059b57f417
fixed check for call\construct signatures in interfaces
2014-08-04 14:37:24 -07:00
Anders Hejlsberg
7fc1b8c4ec
Merge pull request #355 from Microsoft/pullContextualTypes3
...
Consistently record contextual types in function expressions.
2014-08-04 14:36:43 -07:00
Mohamed Hegazy
3c0fd5324c
Merge branch 'master' into getDefinition
2014-08-04 13:43:14 -07:00
Mohamed Hegazy
f8228e1544
Change variabel names:
...
* documentsByName to sourceFilesByName
* getSymbolOfIdentifierLikeNode to getSymbolInfo
2014-08-04 13:37:17 -07:00
Dick van den Brink
c9c8748152
Code style: Missing semicolons
2014-08-04 22:32:32 +02:00
Mohamed Hegazy
c92addf821
Revert "remove documentsByName"
...
This reverts commit 5d26599811 .
2014-08-04 13:20:02 -07:00
Anders Hejlsberg
261ff5b338
Consistently record contextual types in function expressions.
...
Removing check that would guard against recording contextual type. The NodeFlags.ContextChecked flag already
protects against assigning more than once.
2014-08-04 12:58:33 -07:00
Mohamed Hegazy
5c350e4d3d
adapt to changes after merge
2014-08-04 12:56:48 -07:00
Mohamed Hegazy
1667894ec6
Merge branch 'master' into getDefinition
2014-08-04 12:52:27 -07:00