772 Commits

Author SHA1 Message Date
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
c72469a66f emit export specifiers in system modules only if export has a value side 2015-09-11 09:36:17 -07:00
Vladimir Matveev
04949a005c Merge remote-tracking branch 'origin/master' into properExternalModules 2015-09-10 16:42:17 -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
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
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
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
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
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
3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
vilicvane
32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
Sheetal Nandi
5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Anders Hejlsberg
29ec6b0042 Merge pull request #4509 from Microsoft/noDedupeTupleTypes
Fix stack overflow with recursive tuple types
2015-08-27 16:25:25 -07:00
Anders Hejlsberg
5856cc5503 Merge pull request #4501 from Microsoft/checkClassExpressions
Properly check expressions in class extends clause
2015-08-27 16:21:02 -07:00
Anders Hejlsberg
c56683caf3 Merge pull request #4484 from Microsoft/suppressExcessPropertyErrors
Adding -suppressExcessPropertyErrors compiler option
2015-08-27 16:20:28 -07:00
Anders Hejlsberg
1b08f8adc9 Adding tests 2015-08-27 16:12:04 -07:00
Mohamed Hegazy
6975626581 Merge branch 'release-1.6' 2015-08-27 15:23:04 -07:00
Ron Buckton
481c18c892 Added test 2015-08-27 15:21:40 -07:00
Anders Hejlsberg
c0267ec8e1 Adding test 2015-08-27 14:22:42 -07:00
Ron Buckton
67b00feadf Added test 2015-08-27 13:31:31 -07:00
Anders Hejlsberg
f5b85acd74 Adding test 2015-08-26 17:14:33 -07:00
Vladimir Matveev
aedbff163b Merge remote-tracking branch 'origin' into errorMessageInEnums 2015-08-26 14:03:14 -07:00
Vladimir Matveev
a38c32f495 fix error message for forward references in enums 2015-08-26 13:12:29 -07:00
Anders Hejlsberg
e364ef3c7c Adding tests 2015-08-26 06:58:53 -07:00
Yui T
cb8ad4f134 Merge branch 'master' into omitComments
Conflicts:
	src/compiler/emitter.ts
2015-08-25 14:03:21 -07:00
Yui T
40cbd33e65 Update testcase only preserve pinned comment at the top of the file 2015-08-25 13:47:45 -07:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi
3ca08916d4 When emitting metadata about type, Use object type if the type cant be resolved
This could be true if expression cannot be resolved resulting in error
2015-08-24 12:07:14 -07:00
Sheetal Nandi
979e2bf7c4 Write synthesized node's text property instead of getting text from source file
This fixes issue of not being able to emit qualified expression correctly
2015-08-24 12:06:21 -07:00
Sheetal Nandi
6c457f6c1d Tests for #4239 2015-08-24 12:05:16 -07:00
Sheetal Nandi
060dbd24f4 Instead of writing text from source file use text property to write text of synthesized node
Fixes #4364
2015-08-21 13:10:30 -07:00
Mohamed Hegazy
00cd8ad745 Add --outFile and revert change make --out relative in tsconfig.json 2015-08-20 17:37:56 -07:00
Yui T
c851a60ed9 Add test to make sure /// is preserved when removeComments is false 2015-08-20 16:16:17 -07:00
Vladimir Matveev
dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Yui T
8eff741961 Add test in case of remove /// on node that will not be emitted when removeComment is true 2015-08-20 15:02:46 -07:00
Yui T
3f66968776 Only preseve pinned comment at the top of file 2015-08-20 15:01:59 -07:00
Yui T
4b7e2b3139 Update tests file for /// and detached comments 2015-08-20 11:31:51 -07:00
Yui T
21ebc71325 Don't emit detached comment if removeComment is true 2015-08-20 09:47:45 -07:00
Vladimir Matveev
5bcb3f0be8 Merge pull request #4368 from Microsoft/noResolveAndExternalModules
Process imports to source files to record module name resolutions
2015-08-19 17:00:36 -07:00
Yui T
248d85720c Update tests to remove /// if removeComment is true 2015-08-19 16:12:33 -07:00
Vladimir Matveev
4a829572be added tests 2015-08-19 15:37:37 -07:00
David Souther
45688e4b69 Added tests for commonjs safe import behavior. 2015-08-18 21:59:27 -04:00
Mohamed Hegazy
e86f207859 Merge pull request #4309 from Microsoft/fix4274
Fix #4274: When collecting linked aliases use SymbolFlags.Alias to capture local aliases as well
2015-08-17 15:55:35 -07:00
Sheetal Nandi
ebe7ca75a6 Merge branch 'master' into sourcemap 2015-08-17 11:26:49 -07:00
Mohamed Hegazy
7353cfaece Fix #4170, remove error when using import=require syntax in t=ES6 and in ambient context
This is consistent with the behaviour of "export=" in --t=ES6 and in ambient contexts
2015-08-13 14:56:27 -07:00
Mohamed Hegazy
fafd497124 Fix #4274: When collecting linked aliases use SymbolFlags.Alias to capture local aliases as well 2015-08-13 14:30:29 -07:00