Commit Graph

5200 Commits

Author SHA1 Message Date
kimamula
9c9e39e7a3 Add includes method to String interface, and remove contains 2015-07-18 18:50:41 +09: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
Daniel Rosenwasser
33794b7c8e Merge pull request #3900 from Microsoft/emptyBindingAssignmentPatterns
Properly emit empty assignment patterns
2015-07-17 14:03:33 -07:00
Arthur Ozga
1ca17aba26 Addressed Daniel's Comments 2015-07-17 11:20:51 -07:00
shyyko.serhiy@gmail.com
a756b561c5 fixed issue #3859 2015-07-17 20:54:14 +03:00
Arthur Ozga
4e8203d295 fixed a comment 2015-07-17 10:48:54 -07:00
Arthur Ozga
005b8583f5 remove for-loops 2015-07-17 10:33:07 -07:00
Jason Freeman
ad67cd3199 Don't fall back to any when typing tuples 2015-07-16 19:03:45 -07:00
Yui
07af6ca414 Merge pull request #3901 from Microsoft/fixReadingRWC
Fix reading rwc file
2015-07-16 18:34:08 -07:00
Yui T
65a9713d80 Fix reading rwc file 2015-07-16 18:26:46 -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
Daniel Rosenwasser
89398e640d Added single quotes around the declaration name in an error. 2015-07-16 12:09:10 -07:00
Dirk Baeumer
61ca65f22f Fixed #3887 tsserver drops responses 2015-07-16 10:40:06 +02:00
Anders Hejlsberg
d34557a377 Deduplication of tuple types in unions 2015-07-15 21:09:27 -07:00
jramsay
01244d60da Merge pull request #3546 from Microsoft/tsConfigExcludeLSSupport
tsconfig.json exclude LS support
CoreServicesShimHost and CoreServicesShimHostAdapter changes to support tsconfig.json exclude from the language service.
2015-07-15 19:15:09 -07:00
Daniel Rosenwasser
3e2928926e Minor cleanup. 2015-07-15 18:04:05 -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
Daniel Rosenwasser
1f6e2ddeac Fixed reporting of problems with tests. 2015-07-15 15:53:11 -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
Jason Ramsay
dea66a66dc Fix comment spacing for readDirectory in shims.ts 2015-07-15 14:19:54 -07:00
Jason Ramsay
52423f0e6e CoreServicesShimHost and CoreServicesShimHostAdapter changes to support TSConfig exclude from the language service 2015-07-15 14:07:48 -07:00
Daniel Rosenwasser
79dcc43b50 Make JSON.stringify's 'space' parameter have type 'string | number'. 2015-07-15 13:53:54 -07:00
Vladimir Matveev
93e5cae729 addressed PR feedback: added comments 2015-07-15 13:16:12 -07:00
Vladimir Matveev
7d6f8f33ce dispose snapshot only if new file differs from the old file 2015-07-15 13:15:56 -07:00
Vladimir Matveev
ba3d2dbd14 dispose script snapshots from the old source file 2015-07-15 13:15:37 -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
Dan Quirk
32a040b487 Merge pull request #3863 from Microsoft/tslintHarnessCode
Update harness code for TSLint rules
2015-07-15 10:55:56 -07:00
Dan Quirk
26636f5a5c Fix var->let that broke sourcemap baselines 2015-07-14 19:18:57 -07:00
Dan Quirk
2818b2b6fd Minor fixes 2015-07-14 18:54:21 -07:00
Dan Quirk
f33a2b06d4 Fix let->var related errors, revert some lets 2015-07-14 18:24:51 -07:00