Commit Graph

3406 Commits

Author SHA1 Message Date
Jason Freeman
d3d3333da6 Merge pull request #3990 from Microsoft/getBaseTypes
Add getBaseTypes on TypeObject in services
2015-07-23 13:06:19 -07:00
Mohamed Hegazy
84a6ee1fb9 Merge pull request #3913 from ShyykoSerhiy/fix-3859
Fixed "False error when using directive prologues inside constructor with initialized properties."
2015-07-23 00:09:05 -07:00
Jason Freeman
d6998da761 Add getBaseTypes on TypeObject in services 2015-07-22 15:27:25 -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
Vladimir Matveev
4259417821 hoist top level import equals declarations in System modules 2015-07-21 15:56:30 -07:00
Ryan Cavanaugh
4ac078be0e Remove debugger statement 2015-07-21 12:32:24 -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
Anders Hejlsberg
57f1a99322 Adding comma in error message 2015-07-21 11:20:20 -07:00
Vladimir Matveev
d057f56d8c Merge pull request #3945 from Microsoft/bulkReexportInSystem
System: use batching when doing star exports
2015-07-21 10:52:38 -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
Vladimir Matveev
22961e5240 System: use bulk exports 2015-07-20 22:40:22 -07:00
Vladimir Matveev
43347c79ec treat modules that are merged with values as non-const-enum 2015-07-20 21:49:15 -07:00
Jason Freeman
05bc4fecb1 Address PR feedback 2015-07-20 13:40:03 -07:00
Anders Hejlsberg
155ee4b905 Better error message 2015-07-20 07:16:53 -07:00
Anders Hejlsberg
2913cb023b Merge branch 'master' into strictObjectLiterals
Conflicts:
	tests/baselines/reference/typeGuardFunction.types
2015-07-19 11:45:25 -07:00
Anders Hejlsberg
a05ebc469c Preserve order in union types 2015-07-19 11:22:32 -07:00
Jason Freeman
e2303b1ae8 Clean up the language service aliases to check functions 2015-07-17 17:22:58 -07:00
Jason Freeman
3b78377cf0 Clean up pushTypeResolution 2015-07-17 17:22:54 -07:00
Jason Freeman
c0b3835b19 Instantiate signatures if there is an overload resolution error but type arguments present 2015-07-17 17:22:51 -07:00
Jason Freeman
48588b622e Only consider a type resolution sequence a cycle if none of the items in the sequence have types 2015-07-17 17:22:47 -07:00
Jason Freeman
fbe4246d39 Remove resolveLocation 2015-07-17 17:22:44 -07:00
shyyko.serhiy@gmail.com
58cf926b26 added comments 2015-07-18 02:45:26 +03:00
Jason Freeman
2c5ba08266 Merge pull request #3787 from Microsoft/fixingTypeParameters
Fix type parameters upon subsequent visits to a parameter that caused fixing the first time
2015-07-17 16:05:28 -07:00
shyyko.serhiy@gmail.com
b4f82aa3f7 fixed indent issue, changed "for" loop to "for of" loop 2015-07-18 01:36:59 +03:00
Jason Freeman
6df0f3d4aa Fix comment 2015-07-17 14:52:24 -07:00
Jason Freeman
cf6cfed160 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-17 14:16:48 -07:00
Jason Freeman
27c339aa90 Merge branch 'master' of https://github.com/Microsoft/TypeScript into tupleTypesAny 2015-07-17 14:16:28 -07:00
shyyko.serhiy@gmail.com
a756b561c5 fixed issue #3859 2015-07-17 20:54:14 +03:00
Jason Freeman
ad67cd3199 Don't fall back to any when typing tuples 2015-07-16 19:03:45 -07:00
Daniel Rosenwasser
0bdc79fbb8 Only emit the RHS in an empty assignment pattern. 2015-07-16 17:40:07 -07:00
Anders Hejlsberg
c8423d3a89 Getting rid of subtype reduction for union types 2015-07-16 15:27:53 -07:00
Daniel Rosenwasser
439c14f663 Merge pull request #3636 from Microsoft/semanticBindingPropNames
Enable semantic operations on binding element property names
2015-07-16 15:01:46 -07:00
Anders Hejlsberg
d34557a377 Deduplication of tuple types in unions 2015-07-15 21:09:27 -07:00
Jason Freeman
842a5b7043 Merge pull request #3880 from Microsoft/superElementAccess
Allow super element access
2015-07-15 17:13:12 -07:00
Daniel Rosenwasser
ca3c14f8a2 Merge branch 'master' into semanticBindingPropNames
Conflicts:
	src/harness/fourslash.ts
2015-07-15 16:47:07 -07:00
Mohamed Hegazy
4cd7f079e3 Move startIndex declaration to the top 2015-07-15 16:43:13 -07:00
Mohamed Hegazy
f2918fd2a4 Merge branch '3454' of https://github.com/ShyykoSerhiy/TypeScript into ShyykoSerhiy-3454 2015-07-15 16:34:19 -07:00
Daniel Rosenwasser
fdd1f30a95 Enable retrieving the type of a binding property name when an initializer/type annotation is present. 2015-07-15 15:56:13 -07:00
Daniel Rosenwasser
5c6a3d73b9 Use type predicate for 'isVariableLike'. 2015-07-15 15:53:42 -07:00
Jason Freeman
c3879bc0d4 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-15 15:22:15 -07:00
Jason Freeman
95cd3c3d0f Allow super element access 2015-07-15 14:42:13 -07:00
Daniel Rosenwasser
d17f13a5eb Merge pull request #3818 from Microsoft/exportSpecifierCompletions
Support completions in exports with module specifiers.
2015-07-15 14:23:20 -07:00
Anders Hejlsberg
c42b8f7a1f New deduplication algorithm for union types 2015-07-15 11:11:51 -07:00
vvakame
a512e9eeae PR feedback 2015-07-16 03:05:10 +09:00
Jason Freeman
e0f9825978 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-14 15:07:59 -07:00
Jason Freeman
742b2ad8a2 Merge pull request #3856 from Microsoft/widenTuples
Widening for tuples
2015-07-14 14:17:37 -07:00
Jason Freeman
f344ec10c4 Merge pull request #3822 from Microsoft/typeArgumentInferenceApparentType
Take the apparent type of the source during type argument inference
2015-07-14 14:17:17 -07:00
Jason Freeman
6fc08ea3e6 Clean up and address CR feedback 2015-07-14 13:44:40 -07:00