Anders Hejlsberg
a667959b1f
Accepting new baselines
2014-12-17 11:50:03 -08:00
Anders Hejlsberg
766756b4b1
Merge branch 'master' into spreadAndRest
...
Conflicts:
src/compiler/parser.ts
2014-12-17 11:49:45 -08:00
CyrusNajmabadi
a40a5a8571
Merge pull request #1521 from Microsoft/diagnostics
...
Remove 'grammarDiagnostics' from SourceFile.
2014-12-16 23:50:08 -08:00
CyrusNajmabadi
63eca44e17
Merge pull request #1522 from Microsoft/LKG2
...
Update LKG.
2014-12-16 23:44:26 -08:00
Mohamed Hegazy
54d1d952e1
Update LKG
2014-12-16 23:42:59 -08:00
Cyrus Najmabadi
291b468262
Update LKG.
2014-12-16 23:22:46 -08:00
Cyrus Najmabadi
2748a5b163
Remove 'grammarDiagnostics' from SourceFile.
2014-12-16 23:00:14 -08:00
CyrusNajmabadi
1776734e66
Merge pull request #1423 from Microsoft/refactorGrammarCheck
...
Move grammar checking code into the type checker.
2014-12-16 20:59:55 -08:00
Cyrus Najmabadi
99a189936f
Remove last vestiges of the grammar checker from the parser now that it has been entirely moved to the TypeChecker.
2014-12-16 19:59:16 -08:00
Yui T
c2b03b6384
Address code review
2014-12-16 19:53:42 -08:00
Yui T
9c9bd34352
Address code review
2014-12-16 19:49:40 -08:00
Yui T
d7f607234a
COMPLETE migrating grammar checking; No more errors
2014-12-16 19:30:08 -08:00
Yui T
fdfd8d4863
Cleaning up migrating grammar checking
2014-12-16 19:11:07 -08:00
Anders Hejlsberg
fab94d84e5
Merge branch 'master' into spreadAndRest
...
Conflicts:
src/compiler/parser.ts
2014-12-16 18:09:21 -08:00
Yui T
9ab59a4964
Merge branch 'master' into refactorGrammarCheck
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/parser.ts
src/compiler/types.ts
tests/baselines/reference/YieldExpression8_es6.errors.txt
tests/baselines/reference/ambientErrors.errors.txt
tests/baselines/reference/giant.errors.txt
2014-12-16 17:38:40 -08:00
Yui T
8dc9f751a3
Complete grammar checking migration; there are still errors which will be fixed once pull master into the branch
2014-12-16 17:32:15 -08:00
Mohamed Hegazy
cd7fc0c3fe
Merge pull request #1495 from Microsoft/crashWhileReportingError
...
Do not use the file name in errors unless it exists
2014-12-16 16:56:01 -08:00
Mohamed Hegazy
ab93b7d35d
Merge pull request #1517 from Arnavion/exec-call-fail
...
Fail the surrounding Jake task if exec'd tool has non-zero exit code.
2014-12-16 16:54:15 -08:00
CyrusNajmabadi
ffe5aa972c
Merge pull request #1518 from Microsoft/sortCompilerBaselineDiagnostics
...
Sort diagnostics in our baseline output.
2014-12-16 16:11:58 -08:00
Cyrus Najmabadi
f1a2e41a8a
Sort diagnostics in our baseline output.
...
This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.
This helps with Yui's refactoring work to move grammar checks into the type checker.
2014-12-16 15:56:56 -08:00
Anders Hejlsberg
fed3b5c0de
Adding comment
2014-12-16 15:47:22 -08:00
Arnavion
8c76a4ebd3
Fail the surrounding Jake task if exec'd tool has non-zero exit code.
2014-12-16 15:28:36 -08:00
Yui T
a3e8b6c6d7
Move grammar checking: interfaceDeclaration-remove it from checkModifiers in parser; there are still errors from incomplete grammar migration
2014-12-16 13:47:57 -08:00
Yui T
406576f1fc
Move grammar checking: propertyDeclaration, propertySignature; there are still errors from incomplete grammar migration
2014-12-16 13:36:00 -08:00
Yui T
c525877aaa
Move grammar checking: moduleDeclaration; there are still errors from incomplete grammar migration
2014-12-16 13:35:31 -08:00
Yui T
003515655e
Move grammar checking: methodDeclaration; there are still erros from incomplete grammar migration
2014-12-16 12:51:42 -08:00
Mohamed Hegazy
adb0393458
Add internal definitions to a diffrent .d.ts files
2014-12-16 12:26:56 -08:00
Yui T
7a4d8cd8ee
Move grammar checking: setAccessor, getAccessor; there are still erros from incomplete grammar migration
2014-12-16 12:25:05 -08:00
Mohamed Hegazy
5c4c08a667
Merge pull request #1500 from Arnavion/exec-process-stderr-number
...
Fixed "TypeError: invalid data" when executables run by exec exited with non-zero code.
2014-12-16 10:09:43 -08:00
Arnavion
f042044fce
Fixed "TypeError: invalid data" when executables run by exec exited with non-zero code.
...
The original error was because process.stderr only allows writing Strings or Buffers, but status is a Number.
Also, the message parameter of the "error" handler is just the amalgam of all output written to stderr. This is already logged by the "stderr" handler, so there's no need to write it to process.stderr again.
2014-12-16 02:45:17 -08:00
Vladimir Matveev
59c73c5f34
Merge pull request #1466 from Microsoft/linked_imports
...
defer decision whether import used on the right side of import declarati...
2014-12-16 00:46:26 -08:00
Vladimir Matveev
5b38cb9a69
harden 'get import declaration' logic
2014-12-16 00:34:51 -08:00
Yui T
694771b2d7
Move grammar checking: functionDeclaration; there are still errors from incomplet grammar migration
2014-12-15 23:05:29 -08:00
CyrusNajmabadi
1eba8db465
Merge pull request #1498 from Microsoft/bindingElementContxt
...
Do not pass context flags downward while parsing binding elements.
2014-12-15 22:00:26 -08:00
Cyrus Najmabadi
30f9a5ca2a
Do not pass context flags downward while parsing binding elements.
...
This prevents an unnecessary allocation, simplifies parsing code, and prevents
an issue where parsing depends on context flags not stored in the final tree.
This is an issue for incremental parsing that can lead to nodes being reused
inappropriately.
2014-12-15 21:41:02 -08:00
Yui T
25a6302b48
Move grammar checking: forStatement
2014-12-15 18:39:44 -08:00
Yui T
010745c371
Move grammar checking: forInStatement; there are still errors from incomplete migration
2014-12-15 18:28:24 -08:00
CyrusNajmabadi
539300bc5a
Merge pull request #1496 from Microsoft/bindingContainers
...
Simplify how we set container.nextContainer now that we don't double recurse during binding.
2014-12-15 18:26:19 -08:00
Yui T
e0e88adfc5
Move grammar checking: variableDeclaration, variableStatements; there are still erros from incomplete grammar migration
2014-12-15 18:10:35 -08:00
Mohamed Hegazy
8a87d51956
Do not use the file name in errors unless it exists
2014-12-15 17:32:11 -08:00
Yui T
ccff5efb73
Merge branch 'refactorGrammarCheck' of https://github.com/Microsoft/TypeScript into refactorGrammarCheck
...
Conflicts:
src/compiler/checker.ts
2014-12-15 17:24:37 -08:00
Yui T
20b7bb249e
Address code review
2014-12-15 17:23:33 -08:00
Yui T
5cb958ef43
Address code review
2014-12-15 17:16:22 -08:00
Yui T
90333fe49b
Address code review
2014-12-15 16:43:35 -08:00
Yui T
f22adf6785
Move grammar checking: constructorDeclaration; there are still errors from incomplete grammar migration
2014-12-15 16:42:31 -08:00
Yui T
bcf73a8207
Move grammar checking: enumDeclaration; there are still erros from incomplete grammar migration
2014-12-15 15:26:08 -08:00
Anders Hejlsberg
667e82fba2
Addressing CR feedback + Run fourslash tests with ES5 emit
2014-12-15 15:16:54 -08:00
Yui T
28a115ef37
Move grammar checking: breakStatement, continueStatement; there are still errors from incomplete grammar migration
2014-12-15 15:05:31 -08:00
Yui T
60eb37df94
Move grammar checking: declare keyword in checkGrammarModifier; there are still erros from incomplete grammar migration
2014-12-15 14:51:52 -08:00
Yui T
d584737ea2
Address code review
2014-12-15 14:47:09 -08:00