736 Commits

Author SHA1 Message Date
Mohamed Hegazy
6975626581 Merge branch 'release-1.6' 2015-08-27 15:23:04 -07:00
Ron Buckton
67b00feadf Added test 2015-08-27 13:31:31 -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
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
Vladimir Matveev
dde7545d34 address PR feedback 2015-08-20 16:13:49 -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
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
Yui
f92aa8681a Merge pull request #4230 from Microsoft/commentsNotPreserveForCallExp
Preserve comments on parameters in call expressions
2015-08-12 18:54:34 -07:00
Yui T
732376a73b Merge branch 'master' into commentsNotPreserveForCallExp 2015-08-12 17:46:39 -07:00
Ryan Cavanaugh
5035559c59 Merge pull request #4228 from RyanCavanaugh/jsxHash
Fix case where # occurs after > in JSX expression
2015-08-11 11:56:19 -07:00
Vladimir Matveev
586abacec4 Merge pull request #4179 from Microsoft/exportDeclarationsInSystem
emit export declarations for system modules as a part of 'execute' me…
2015-08-10 13:59:45 -07:00
Mohamed Hegazy
7f49375f3e Fix #3912: emit declaration for binding elements correctelly 2015-08-10 10:50:08 -07:00
Ryan Cavanaugh
555297a62b Fix case where # occurs after > in JSX expression 2015-08-07 15:46:36 -07:00
Yui T
7de321d167 Update baselines 2015-08-06 17:28:30 -07:00
Mohamed Hegazy
d58ec43b3f Fix #4159: look up the type alias paramter within the context of the parent type alias declaration 2015-08-06 16:43:15 -07:00
Vladimir Matveev
02539d91e2 deduplicate module dependencies 2015-08-06 16:38:53 -07:00
Mohamed Hegazy
fbba50b312 Fix #4194: emit type paramters in type alias declaration 2015-08-06 16:23:08 -07:00
Daniel Rosenwasser
54f3b414f7 Merge pull request #4124 from ShyykoSerhiy/fix-3991
Fix for "Error for missing 'super' call is misleading"
2015-08-06 14:39:32 -07:00
Vladimir Matveev
eab6911bce emit export declarations for system modules as a part of 'execute' method 2015-08-05 21:45:04 -07:00
Ryan Cavanaugh
8a6426272e Merge pull request #4165 from RyanCavanaugh/useAssignabilityForInstanceofTypeguard
Use different relation for `instanceof` type guards
2015-08-05 14:06:56 -07:00
Ryan Cavanaugh
748d7564a6 Add tests and fix spelling 2015-08-05 13:30:45 -07:00
Vladimir Matveev
6ae746e1ad Merge pull request #4157 from Microsoft/spaceAfterDotInConstEnums
emit space before the dot for property/element access expressions if …
2015-08-05 12:34:11 -07:00
Anders Hejlsberg
5cdb0d6b00 Merge pull request #4112 from Microsoft/nonObjectTypeConstraints
Support non-object type constraints
2015-08-05 11:44:14 -07:00
Anders Hejlsberg
c8b4a2edfd Merge pull request #4153 from Microsoft/tupleTypeInference
Improved tuple type inference
2015-08-05 11:27:18 -07:00
Vladimir Matveev
fd46d205f9 addressed PR feedback, added more tests 2015-08-05 10:36:47 -07:00
Ryan Cavanaugh
cc3a48fc7f Use different relation for instanceof type guards 2015-08-05 09:05:06 -07:00
Vladimir Matveev
c2fe8428a9 emit space before the dot for property/element access expressions if expression part is integer const enum 2015-08-05 00:02:29 -07:00
Anders Hejlsberg
81544d4652 Adding test case 2015-08-04 11:43:13 -07:00
Mohamed Hegazy
d855f47f01 Merge pull request #4120 from basarat/feat/shebang
Shebang
2015-08-04 10:00:38 -07:00
Basarat Syed
9754ec10e2 test(shebang) error case 2015-08-03 11:24:33 +10:00
shyyko.serhiy@gmail.com
b670dacf74 added tests 2015-08-03 00:31:03 +03:00
Vladimir Matveev
24c8a8ee5f always set NodeCheckFlags when checking super expression 2015-08-02 08:51:50 -07:00
basarat
82d5a9c1bb test(shebang) desired outcome 2015-08-02 11:25:55 +10:00
Anders Hejlsberg
294e13da96 Adding new test 2015-07-31 14:05:47 -07:00
Sheetal Nandi
cd018e1af4 Adding testcase for extends helper emit when generating system module
Testcase for #3655
2015-07-31 11:55:04 -07:00
Daniel Rosenwasser
7c90d6251c Style and rename test. 2015-07-30 11:22:58 -07:00
Sheetal Nandi
cf13361497 Adding tests for source map with comments (#4003) 2015-07-30 11:07:40 -07:00
Mohamed Hegazy
4b55d38645 Merge pull request #3935 from pcan/issue_3932
Added null-check in 'emitSerializedTypeNode'
2015-07-30 10:44:23 -07:00