Commit Graph

5903 Commits

Author SHA1 Message Date
Anders Hejlsberg
a05ebc469c Preserve order in union types 2015-07-19 11:22:32 -07:00
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
Arthur Ozga
784fc89adc Added Comments and assertions 2015-07-17 16:32:53 -07:00
Arthur Ozga
ab340756bc Get Scaffolding 2015-07-17 16:32:29 -07:00
Arthur Ozga
558f1e34ca Remove Garbage 2015-07-17 16:30:20 -07:00
zhengbli
efd274df38 cr feedback 2015-07-17 16:27:13 -07: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
zhengbli
6d670704a1 fix issue 3884 2015-07-17 15:44:03 -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
Arthur Ozga
aa45967b79 refactored isInComment, isInString 2015-07-17 09:12:59 -07:00
Daniel Rosenwasser
85b54e8946 Fixed out of bounds error; made index start directly at the line number. 2015-07-16 22:45:31 -07:00
Daniel Rosenwasser
99f6985115 Don't expand tabs; just use a space. 2015-07-16 19:41:23 -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
Arthur Ozga
bf7c073e63 refactored isInComment, isInString 2015-07-16 18:28:58 -07:00
Yui T
65a9713d80 Fix reading rwc file 2015-07-16 18:26:46 -07:00
Arthur Ozga
0dcb9007a3 Merge branch 'master' into JSDocCommentScaffolding 2015-07-16 17:54:40 -07:00
Daniel Rosenwasser
0bdc79fbb8 Only emit the RHS in an empty assignment pattern. 2015-07-16 17:40:07 -07:00
zhengbli
5020326df3 Add Comments 2015-07-16 16:49:08 -07:00
zhengbli
2dd71e063a Fix fourslash test 2015-07-16 16:45:14 -07:00
zhengbli
b1e688c056 Merge branch 'master' of https://github.com/Microsoft/TypeScript into errorlist 2015-07-16 16:05:29 -07:00
zhengbli
efef7b30c1 Update updateErrorCheck function 2015-07-16 15:45:31 -07:00
Anders Hejlsberg
c8423d3a89 Getting rid of subtype reduction for union types 2015-07-16 15:27:53 -07:00
Ron Buckton
b620cace92 Fixes an issue when resolving a type name as an expression when emitting type metadata for decorators 2015-07-16 15:13:31 -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
Yui T
58cbf91711 Add check for super when extending null 2015-07-16 13:41:19 -07:00
Yui T
824293f5e4 Fix CRLF 2015-07-16 13:40:36 -07:00
Daniel Rosenwasser
89398e640d Added single quotes around the declaration name in an error. 2015-07-16 12:09:10 -07:00
Arthur Ozga
82bdfd201d Doc notes. 2015-07-16 09:08:31 -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