5745 Commits

Author SHA1 Message Date
Anders Hejlsberg
00ad4d77bf Merge pull request #3137 from Microsoft/copySpreadArray
Ensure spread always copies array
2015-05-12 17:19:47 -07:00
Anders Hejlsberg
8db3b76295 Accepting new baselines 2015-05-12 16:54:34 -07:00
Anders Hejlsberg
36290537c3 Optimize spread to not generate x.slice() when x is an array literal 2015-05-12 16:53:53 -07:00
Dan Quirk
e42a39fada Merge pull request #3135 from Microsoft/noEmitOnErrorDescriptionUpdate
Update help description for noEmitOnError
2015-05-12 16:26:40 -07:00
Vladimir Matveev
907249699a Merge pull request #3110 from Microsoft/emitModuleMemberInSystem
system: fix emit for enums and exported non-top level items
2015-05-12 16:22:13 -07:00
Anders Hejlsberg
fe4dd84d19 Accepting new baselines 2015-05-12 15:51:20 -07:00
Anders Hejlsberg
c4b6e64ca6 Emit [...a] as a.slice() to ensure a is copied 2015-05-12 15:49:41 -07:00
Dan Quirk
05f753918c Update help description for noEmitOnError 2015-05-12 14:31:38 -07:00
Daniel Rosenwasser
300cb8d9f2 Merge pull request #3121 from Microsoft/consistent-sourceMap-naming
Consistent usage of 'sourceMap' in diagnostics
2015-05-12 11:48:49 -07:00
Jason Freeman
18c65da36a Merge pull request #3116 from Microsoft/contextualModifier
Remove nextTokenCanFollowContextualModifier
2015-05-12 01:14:55 -07:00
Vladimir Matveev
f8c10ff115 Merge pull request #3117 from Microsoft/normalizedSlashesInFilenames
program should store file names with normalized slashes
2015-05-11 16:07:08 -07:00
Vladimir Matveev
3480119e4e Merge pull request #3109 from Microsoft/doNotHoistAmbientDeclarations
Do not hoist ambient declarations in System.js emit
2015-05-11 15:02:02 -07:00
Daniel Rosenwasser
99b6e26831 Accepted baselines. 2015-05-11 15:01:29 -07:00
Daniel Rosenwasser
4cd0127822 sourcemap -> sourceMap 2015-05-11 14:53:18 -07:00
Vladimir Matveev
714b39a511 addressed PR feedback 2015-05-11 14:17:34 -07:00
Vladimir Matveev
947d4a29c2 program should store file names with normalized slashes 2015-05-11 14:01:46 -07:00
Jason Freeman
029fbb0d4f Remove nextTokenCanFollowContextualModifier 2015-05-11 13:27:07 -07:00
Vladimir Matveev
b534b5665c correct typos 2015-05-11 00:09:06 -07:00
Vladimir Matveev
cdbd6c6898 system: fix emit for exports of non-top level entities, fix emit for enums 2015-05-11 00:07:49 -07:00
Vladimir Matveev
1a4df9ab7f do not hoist ambient declarations 2015-05-10 22:23:12 -07:00
Yui
681954bc59 Merge pull request #3048 from Microsoft/duplicateIdentifierBindingElement
Duplicate identifier binding element
2015-05-08 18:17:27 -07:00
Yui T
b70276538b Merge branch 'master' into duplicateIdentifierBindingElement 2015-05-08 18:05:57 -07:00
Yui T
38b1bb0bfa Add testcases 2015-05-08 17:51:46 -07:00
Yui T
853edde521 Address code review 2015-05-08 17:51:20 -07:00
Jason Freeman
e0931d8629 Type check all files when emitting a file under -out 2015-05-08 15:03:55 -07:00
Jason Freeman
80f33dd3ea Make boolean compiler options in harness true only if they say 'true' 2015-05-08 15:03:44 -07:00
CyrusNajmabadi
5aed73ff72 Merge pull request #3091 from Microsoft/classificationLoop
Prevent infinite loop when classifying.
2015-05-08 12:54:05 -07:00
Cyrus Najmabadi
286f0150a6 Prevent infinite loop when classifying. 2015-05-08 10:54:00 -07:00
CyrusNajmabadi
0c92cf624e Merge pull request #3088 from Microsoft/fixTSConfigParsing
Don't wrap an array of errors in an additional array.
2015-05-08 10:10:28 -07:00
Cyrus Najmabadi
4c809eddfb Don't wrap an array of errors in an additional array. 2015-05-08 09:55:59 -07:00
Mohamed Hegazy
5129d7cf9c Merge pull request #3032 from Microsoft/supportedExtensions
unify file extension resolution logic
2015-05-07 14:27:43 -07:00
Mohamed Hegazy
cf8f58253b Merge pull request #3073 from Microsoft/removeDuplicateCaseLabels
remove duplicate case labels
2015-05-07 12:59:10 -07:00
Mohamed Hegazy
05892b1993 remove duplicate case labels 2015-05-07 12:29:47 -07:00
Mohamed Hegazy
b40849b717 Merge pull request #3064 from Microsoft/refactorNarrowTypeByInstanceOf
Refactor narrow type by instance of
2015-05-07 11:39:40 -07:00
Mohamed Hegazy
ce9f7b431f Merge branch 'master' into supportedExtensions 2015-05-07 11:28:15 -07:00
Mohamed Hegazy
69f94cde8e Merge branch 'master' into refactorNarrowTypeByInstanceOf 2015-05-07 11:27:42 -07:00
Mohamed Hegazy
4381d1655d Add new line 2015-05-07 11:27:38 -07:00
Jason Freeman
dd6c87e302 Merge pull request #3058 from Microsoft/promiseVoidErrorCallback
Fix typing for Promises so that a void error callback doesn't mess up inference
2015-05-07 10:33:22 -07:00
Vladimir Matveev
3d0daef8eb Merge pull request #3059 from Microsoft/'canonicalFileNamesInHostCache'
use canonical file name when asking the host if file exists
2015-05-06 21:01:01 -07:00
Mohamed Hegazy
42b56cf671 Add a regression test 2015-05-06 20:25:12 -07:00
Mohamed Hegazy
8b43b3d18c Update test 2015-05-06 20:18:32 -07:00
Mohamed Hegazy
ac9b16cff3 refactor narrowTypeByInstanceof 2015-05-06 20:11:31 -07:00
Ron Buckton
93e2f91398 Merge pull request #3063 from Microsoft/removeDefineFunctionName
Removed Object.defineProperty for function name
2015-05-06 17:41:15 -07:00
Ron Buckton
6be18f821e Updated LKG 2015-05-06 17:30:41 -07:00
Ron Buckton
7acc488757 Removed Object.defineProperty for function name 2015-05-06 17:23:04 -07:00
Vladimir Matveev
a33bb6bb19 use canonical file name when asking the host if file exists 2015-05-06 16:00:50 -07:00
Jason Freeman
498f315256 Fix typing for Promises so that a void error callback doesn't mess up inference 2015-05-06 15:53:01 -07:00
Mohamed Hegazy
14362b0ca5 Merge branch 'vvakame-typeguardsByConstructorSigniture' 2015-05-06 13:05:41 -07:00
Mohamed Hegazy
0a28a3ec80 Remove getUnionTypeOfSubtypeConstituents 2015-05-06 13:05:12 -07:00
Mohamed Hegazy
5e94ce65ed Merge branch 'typeguardsByConstructorSigniture' of https://github.com/vvakame/TypeScript into vvakame-typeguardsByConstructorSigniture 2015-05-06 12:44:45 -07:00