2607 Commits

Author SHA1 Message Date
Daniel Rosenwasser
38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Vladimir Matveev
5636655cf4 report error if module name is empty 2015-09-14 14:33:35 -07:00
Vladimir Matveev
5b764205fe Merge pull request #4750 from Microsoft/Port-4749
Port PR 4749 into release-1.6
2015-09-11 10:21:20 -07:00
Vladimir Matveev
90273f995d Merge pull request #4749 from Microsoft/systemExportOnlyValues
Emit export specifiers in system modules only if export has a value side
2015-09-11 10:21:11 -07:00
Vladimir Matveev
026632bca8 Merge pull request #4738 from Microsoft/properExternalModules
Check if imported file is a proper external module for imported node typings
2015-09-11 10:20:42 -07:00
Vladimir Matveev
0e5196180e emit export specifiers in system modules only if export has a value side 2015-09-11 09:38:51 -07:00
Vladimir Matveev
c72469a66f emit export specifiers in system modules only if export has a value side 2015-09-11 09:36:17 -07:00
Anders Hejlsberg
dcb9e1c7a5 Merge pull request #4598 from Microsoft/destructuringInitializers
Improved checking of destructuring with literal initializers
2015-09-11 09:12:45 -07:00
Vladimir Matveev
a880be1f75 resolve merge conflicts, update tests 2015-09-10 21:53:49 -07:00
Vladimir Matveev
98f31635f8 Check if imported file is a proper external module 2015-09-10 21:46:03 -07:00
Vladimir Matveev
4b5c2fe31c reattach file diagnostics for modified files when reusing program structure 2015-09-10 21:29:52 -07:00
Mohamed Hegazy
09309d8b6c Merge pull request #4695 from Microsoft/definitionsAsExternalModule
Change typescript.d.ts to be an external module instead of an ambient external module declaration
2015-09-10 17:07:58 -07:00
Vladimir Matveev
87e1569d1f resolve merge conflicts, update tests 2015-09-10 17:00:29 -07:00
Vladimir Matveev
04949a005c Merge remote-tracking branch 'origin/master' into properExternalModules 2015-09-10 16:42:17 -07:00
Anders Hejlsberg
a95c42384b Revising test 2015-09-10 16:27:35 -07:00
Vladimir Matveev
e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -07:00
Vladimir Matveev
c90276f73c Merge pull request #4705 from Microsoft/keywordInJsxIdentifier
allow jsx identifiers to start with keywords
2015-09-10 15:00:09 -07:00
Yui
047b6ace6a Merge pull request #3883 from Microsoft/omitComments
Do not emit /// comments when remove comments is specified
2015-09-10 14:34:53 -07:00
Mohamed Hegazy
7e1739604a Fix #4727: prerocess export import declarations correctelly 2015-09-10 13:24:45 -07:00
Daniel Rosenwasser
bed25ddf18 Merge pull request #4641 from vilic/cast-expression-parentheses-with-numeric-literal
Do not omit parentheses for numeric literal with ".property" if it can not be followed by dot operator directly.
2015-09-10 12:14:49 -07:00
Vladimir Matveev
87890af5b4 Merge pull request #4723 from Microsoft/inheritDiagnostics
inherit file processing diagnostics from the old program when reusing program structure
2015-09-10 12:06:43 -07:00
vilicvane
c3323c9a69 Keep parentheses for all numeric literals with property access expression 2015-09-11 03:06:13 +08:00
Vladimir Matveev
5989d48267 addressed PR feedback 2015-09-10 12:05:23 -07:00
Vladimir Matveev
ee56e60ca0 do not emit '=' in jsx attribute if initializer is missing 2015-09-10 11:39:06 -07:00
Vladimir Matveev
6a77400980 Merge pull request #4703 from Microsoft/jsxEmitAttribiteWithInitializer
do not emit '=' in jsx attribute if initializer is missing
2015-09-10 11:37:36 -07:00
Vladimir Matveev
6e24570135 reattach file diagnostics for modified files when reusing program structure 2015-09-10 10:46:39 -07:00
Daniel Rosenwasser
96a815878c Merge pull request #4657 from Microsoft/emptyVariableDeclarationBindingPattern
Fix emitted code for variable statement with no bound variables
2015-09-09 16:47:45 -07:00
Mohamed Hegazy
a5c72014b0 Merge pull request #4656 from Microsoft/Fix4655
Report error for class expressions incorrectly extending abstract classes
2015-09-09 13:35:42 -07:00
Daniel Rosenwasser
5aa17cd671 Added tests for parameter initializers. 2015-09-09 12:47:31 -07:00
Vladimir Matveev
aa29644c2a allow to use keywords as jsx identifiers 2015-09-08 22:40:16 -07:00
Vladimir Matveev
83214150f8 do not emit '=' in jsx attribute if initializer is missing 2015-09-08 18:40:30 -07:00
Mohamed Hegazy
3d8c336a4f Merge pull request #4632 from Microsoft/fixCompletionAssert
Fix completion assert
2015-09-08 15:39:19 -07:00
Mohamed Hegazy
8a38a1e4b9 Change typescript.d.ts to be an external module instead of an ambient external module declaration 2015-09-08 12:26:29 -07:00
Anders Hejlsberg
27380f40dc Adding test 2015-09-06 08:55:13 -07:00
Anders Hejlsberg
31f8a8148c Adding test for excess/missing properties 2015-09-05 15:46:45 -07:00
Anders Hejlsberg
a0ddd437ef Modifying tests 2015-09-05 15:45:20 -07:00
Mohamed Hegazy
3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
Vladimir Matveev
97b846c444 handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 13:03:47 -07:00
Vladimir Matveev
2d37a44df4 Merge pull request #4646 from Microsoft/formattingJsxAttributes
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Daniel Rosenwasser
6c23a6b534 Merge pull request #4638 from SaschaNaz/fixCommentIndentation
Fix comment indentation
2015-09-04 12:15:30 -07:00
Daniel Rosenwasser
3518ad1723 Added more test cases. 2015-09-04 12:14:57 -07:00
Sheetal Nandi
46c005749b Merge branch 'release-1.6' 2015-09-04 11:21:41 -07:00
Sheetal Nandi
0573c0b006 Merge pull request #4599 from Microsoft/decoratorInferredType
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Vladimir Matveev
35d608692b handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 10:53:33 -07:00
vilicvane
32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
SaschaNaz
b0f0dc1fd8 add tests for comments 2015-09-04 21:38:39 +09:00
Mohamed Hegazy
7a0c28ccc8 make the test more specific 2015-09-03 14:11:54 -07:00
Wesley Wigham
568e4a5601 sample 2015-09-03 13:54:08 -07:00
Vladimir Matveev
ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNaz
58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00