705 Commits

Author SHA1 Message Date
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
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
Mohamed Hegazy
4b55d38645 Merge pull request #3935 from pcan/issue_3932
Added null-check in 'emitSerializedTypeNode'
2015-07-30 10:44:23 -07:00
Anders Hejlsberg
0d39fd95d2 Adding numeric index signature to test 2015-07-30 10:01:34 -07:00
Yui
0a9fb1a7b5 Merge pull request #3946 from Microsoft/disambiguating
Fix resolution when block-scoped variable names collide with those of other entities
2015-07-28 16:01:48 -07:00
Jason Freeman
bbadd702e7 Merge pull request #4022 from Microsoft/defaultInitializer
Default initializers on required parameters
2015-07-28 15:27:04 -07:00
Yui T
3edecbfa47 Merge branch 'master' into disambiguating 2015-07-28 15:26:31 -07:00
Jason Freeman
ef80ff2229 Merge branch 'master' of https://github.com/Microsoft/TypeScript into anyFunctionTypeDontAddCandidate
Conflicts:
	src/compiler/types.ts
2015-07-28 14:52:10 -07:00
Jason Freeman
3e5711fa01 Merge branch 'master' of https://github.com/Microsoft/TypeScript into defaultInitializer 2015-07-28 14:42:21 -07:00
Jason Freeman
4673d618a7 Make declaration emitter call resolver.isOptionalParameter 2015-07-28 14:42:08 -07:00
Yui T
5e6078133c Merge branch 'master' into errorForUseSuperInNullExtension
Conflicts:
	src/compiler/checker.ts
2015-07-27 15:37:02 -07:00
Jason Freeman
40d6c7f740 Merge branch 'master' of https://github.com/Microsoft/TypeScript into defaultInitializer 2015-07-27 15:34:29 -07:00
Jason Freeman
06f63b2e04 Merge branch 'master' of https://github.com/Microsoft/TypeScript into anyFunctionTypeDontAddCandidate 2015-07-27 15:33:11 -07:00
Ryan Cavanaugh
0da9b7a850 Merge pull request #3942 from RyanCavanaugh/fix3903
Fix crash when the element instance type was undefined
2015-07-27 12:41:14 -07:00
Yui T
7296cc7a4e Merge branch 'master' into errorForUseSuperInNullExtension 2015-07-26 20:46:51 -07:00
pcan
6895237f9a Added tests for issue #3932 2015-07-25 10:01:39 +02:00
Jason Freeman
d510ba1b71 Merge branch 'master' of https://github.com/Microsoft/TypeScript into anyFunctionTypeDontAddCandidate 2015-07-24 15:23:22 -07:00
Jason Freeman
628d63cf75 Add tests 2015-07-24 14:59:59 -07:00
Jason Freeman
f44bcbda3c Accept baselines and fix test comments 2015-07-24 14:59:55 -07:00
Vladimir Matveev
e1fa3c5515 Merge pull request #3982 from Microsoft/sourceMapsInTranspile
add transpileModule function that can return emitted source map
2015-07-23 17:25:30 -07:00
Jason Freeman
8529de64d7 Add tests 2015-07-22 13:58:43 -07:00
Vladimir Matveev
500cadac5c add transpileModule function that can return emitted source map 2015-07-22 11:58:27 -07:00
Ryan Cavanaugh
8fcca92e4e Merge pull request #3955 from RyanCavanaugh/fix3928
Correctly identify identifiers inside JSX exprs as expression identifiers
2015-07-22 10:27:55 -07:00
Ryan Cavanaugh
09aa13f5ce Merge remote-tracking branch 'upstream/master' into fix3903
Conflicts:
	tests/baselines/reference/tsxElementResolution9.errors.txt
2015-07-22 10:01:08 -07:00
Vladimir Matveev
4259417821 hoist top level import equals declarations in System modules 2015-07-21 15:56:30 -07:00
Ryan Cavanaugh
d86fd85bd5 Correctly identify identifiers inside JSX exprs as expression identifiers 2015-07-21 11:35:05 -07:00
Anders Hejlsberg
4e85864b2d Merge pull request #3823 from Microsoft/strictObjectLiterals
Strict object literal assignment checking
2015-07-21 11:29:10 -07:00
Vladimir Matveev
45affe4122 Merge pull request #3944 from Microsoft/constEnumModules
treat modules that are merged with values as non-const-enum
2015-07-21 10:51:14 -07:00
Jason Freeman
4e0acc9fc1 Merge pull request #3586 from vvakame/addEsModule
improve  module loading interoperability for babel
2015-07-20 23:52:38 -07:00
Yui T
4167343630 Add tests and baselines 2015-07-20 23:30:43 -07:00
Vladimir Matveev
43347c79ec treat modules that are merged with values as non-const-enum 2015-07-20 21:49:15 -07:00
Ryan Cavanaugh
ddd78fb609 Fix crash when the element instance type was undefined 2015-07-20 18:16:03 -07:00
Anders Hejlsberg
2913cb023b Merge branch 'master' into strictObjectLiterals
Conflicts:
	tests/baselines/reference/typeGuardFunction.types
2015-07-19 11:45:25 -07:00
kimamula
9c9e39e7a3 Add includes method to String interface, and remove contains 2015-07-18 18:50:41 +09:00