7968 Commits

Author SHA1 Message Date
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
Yui T
e960e0ddd2 Fix reporting an error on block-scope for module 2015-07-20 22:40:24 -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
Arthur Ozga
6d174a0f18 Adjust carat after insertion 2015-07-20 18:31:17 -07:00
Ryan Cavanaugh
ddd78fb609 Fix crash when the element instance type was undefined 2015-07-20 18:16:03 -07:00
Jason Freeman
2da47e813b Merge pull request #3919 from Microsoft/remove_resolveLocation
Remove resolveLocation from the checker
2015-07-20 17:44:26 -07:00
Jason Freeman
fffe6c5fb5 Merge branch 'master' of https://github.com/Microsoft/TypeScript into remove_resolveLocation 2015-07-20 13:40:17 -07:00
Jason Freeman
05bc4fecb1 Address PR feedback 2015-07-20 13:40:03 -07:00
Daniel Rosenwasser
96b02a83ca Merge pull request #3879 from Microsoft/stringifySpaceParam
Make JSON.stringify's 'space' parameter have type 'string | number'.
2015-07-20 12:55:12 -07:00
Mohamed Hegazy
8f2f84f4b8 Merge pull request #3923 from kimamula/string_includes
Add includes method to String interface, and remove contains
2015-07-20 12:38:57 -07:00
pcan
fa643b110c Fix for issue #3932. Moved the null-check in emitSerializedTypeNode 2015-07-20 21:27:28 +02:00
pcan
82933ef680 Fix for issue #3932, added null-check. 2015-07-20 20:58:35 +02:00
Yui T
ed5bc319cb Update tests and baselines 2015-07-20 09:55:28 -07:00
Yui T
d11fc48066 Only remove triple-slash if it is not at top of file 2015-07-20 09:55:04 -07:00
Anders Hejlsberg
967df39587 Accepting new baselines 2015-07-20 07:17:29 -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
592319d23e Accepting new baselines 2015-07-19 11:23:19 -07:00
Anders Hejlsberg
3cbc3db201 Fixing fourslash tests 2015-07-19 11:22:49 -07:00
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
fbe60c93f4 Merge pull request #3902 from Microsoft/tupleTypesAny
Don't fall back to any when typing tuples
2015-07-17 14:22:33 -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
62e08fc1eb fixed strictModeInConstructor.error.txt baseline 2015-07-17 21:00:46 +03: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
Jason Freeman
a74d64baa6 Add tests 2015-07-16 19:03:54 -07:00
Jason Freeman
4ab9c02136 Accept baselines 2015-07-16 19:03:50 -07:00
Jason Freeman
ad67cd3199 Don't fall back to any when typing tuples 2015-07-16 19:03:45 -07:00