Commit Graph

12831 Commits

Author SHA1 Message Date
Anders Hejlsberg
a17bd026e5 Associate type alias names with union, intersection and literal types 2016-07-18 17:31:17 -07:00
Anders Hejlsberg
7d1c2fcf70 Accept new baselines 2016-07-18 17:18:35 -07:00
Anders Hejlsberg
15a66676cc Fix fourslash tests 2016-07-18 17:14:34 -07:00
Anders Hejlsberg
0f132cdb7f Order union type constituents by type ID 2016-07-18 17:14:14 -07:00
Yui
e52e1659db Port Fix9685 to master (#9788)
* Add tests and baselines

* Fix incorrect emit decorated class alias when targeting es6 or higher
2016-07-18 15:27:44 -07:00
Mohamed Hegazy
32a9196354 Merge branch 'mergerRelease-2.0InMaster' 2016-07-18 15:11:01 -07:00
Mohamed Hegazy
ac72affc6b Update LKG 2016-07-18 14:56:08 -07:00
Mohamed Hegazy
59c4d3fc3b Merge branch 'release-2.0' 2016-07-18 14:43:45 -07:00
Mohamed Hegazy
08b3b8be71 Merge pull request #9784 from Microsoft/Fix9636
Fix #9636: report unused type parameter error on the last declaration
2016-07-18 14:42:56 -07:00
Ryan Cavanaugh
3d3ae29bad Merge pull request #9798 from RyanCavanaugh/fix_9785
Provide complete path of tsconfig.json file
2016-07-18 14:35:08 -07:00
Ryan Cavanaugh
22cac1aa49 Provide the complete path to tsconfig file. Fixes #9785 2016-07-18 13:29:38 -07:00
Anders Hejlsberg
32f4cbb58a Accept new baselines 2016-07-18 13:16:45 -07:00
Anders Hejlsberg
c48cd4a93b Unify 'boolean' and 'true | false' 2016-07-18 13:16:11 -07:00
Anders Hejlsberg
cb27e54ba7 Fix fourslash test 2016-07-18 11:15:19 -07:00
Mohamed Hegazy
7f045adc86 Code review comments 2016-07-18 09:19:29 -07:00
Yui
9886f88004 [Release-2.0] Fix 9685: missing decoratedClassAlias emit in self-reference decorated class (#9763)
* Wip

* Fix incorrect emit decorated class alias when targeting es6 or higher

* Add tests and baselines

* Remove unused test file
2016-07-18 08:48:12 -07:00
Mohamed Hegazy
a3b0810d8c Merge branch 'release-2.0' into Fix9636 2016-07-17 23:51:52 -07:00
Mohamed Hegazy
290caad402 Fix #9636: Report unused type paramters only on last declaration 2016-07-17 23:51:17 -07:00
Mohamed Hegazy
9ef65cf3af remove unused method declaration 2016-07-17 23:25:33 -07:00
Vladimir Matveev
2b8c1f9515 Merge pull request #9764 from Microsoft/port-9750
Port #9750 into release 2.0
2016-07-17 12:10:16 -07:00
Anders Hejlsberg
a96d38ef96 Accept new baselines 2016-07-16 14:46:10 -07:00
Anders Hejlsberg
614d171a21 Include type parameter constrains in literal type context determination 2016-07-16 14:45:38 -07:00
Anders Hejlsberg
01a33f707c Accept new baselines 2016-07-16 07:47:03 -07:00
Anders Hejlsberg
b5a5758169 No subtype reduction in createUnionOrIntersectionProperty for performance 2016-07-16 07:46:28 -07:00
Yui
87f75ff823 Use reference types to reference node.d.ts (#9686) 2016-07-15 18:01:08 -07:00
Wesley Wigham
2037ec69cc Try removing the conflicting package before install/update 2016-07-15 17:04:54 -07:00
Wesley Wigham
761482cf5e Use sorcery to merge sourcemaps between browserify and gulp-typescript (#9439)
* Use sorcery to merge sourcemaps between browserify and gulp-typescript

* Use shorthand

* Fix nit

* move comments, change loop into map

* Ahahaha, we should run code before pushing it

* Move conditional into call
2016-07-15 16:55:16 -07:00
Yui
5319fa3a0d Fix linting error (#9762) 2016-07-15 16:49:18 -07:00
Ryan Cavanaugh
40ca4a06b5 Incorrectly included some unrelated files 2016-07-15 16:07:24 -07:00
Ryan Cavanaugh
124305d007 Emit parens around type-asserted binary operators
Fixes #9766
2016-07-15 15:56:22 -07:00
Vladimir Matveev
bf8937cc84 remove extra semicolon 2016-07-15 12:51:53 -07:00
Wesley Wigham
a9906e5f00 Add npm update call to install, lets see how it goes 2016-07-15 12:47:12 -07:00
Wesley Wigham
f184668095 Merge branch 'master' into travis-cache 2016-07-15 12:46:30 -07:00
Vladimir Matveev
af0c548312 Merge pull request #9750 from Microsoft/fixFormatDiagnostics
use sys based host for formatting diagnostics
2016-07-15 12:35:03 -07:00
Vladimir Matveev
859bd1b823 Merge pull request #9750 from Microsoft/fixFormatDiagnostics
use sys based host for formatting diagnostics
2016-07-15 12:33:53 -07:00
falsandtru
4954f810ac Fix a command example in help messages (#9747) 2016-07-15 11:52:39 -07:00
Tingan Ho
d66837bac8 Fixes capitalization (#9736) 2016-07-15 11:52:26 -07:00
Vladimir Matveev
2da6846557 use sys based host for formatting diagnostics 2016-07-14 23:02:56 -07:00
Nathan Shively-Sanders
78f807c772 Test that contextually typed generic this parameters are instantiated 2016-07-14 14:26:10 -07:00
Nathan Shively-Sanders
ad56220c45 Instantiate contextual this parameters if needed 2016-07-14 14:17:50 -07:00
Sheetal Nandi
f16f27661f Merge pull request #9529 from Microsoft/identifierAndTokenConstructor
Create separate constructors for Tokens and Identifiers
2016-07-14 13:35:09 -07:00
Wesley Wigham
b8e814e9a4 Harden compilerRunner vs rooted path names in tests (#9714)
* Harden compilerRunner vs rooted path names in tests

* Call toPath on currentDirectory
2016-07-14 10:30:37 -07:00
Wesley Wigham
3cb0513752 Have travis fast_finish (#9718)
This causes a build to be marked as failed the instant any of its component builds fail (rather than waiting for them all to finish to mark a failure).
2016-07-14 10:29:12 -07:00
Anders Hejlsberg
4501b3ec60 Accept new baselines 2016-07-14 09:21:54 -07:00
Anders Hejlsberg
44339dd55f Performance optimizations 2016-07-14 09:21:18 -07:00
Wesley Wigham
695582e33b Tell travis to build on OSX in addition to Linux (#9717)
This way we can have a CI environment with a case-insensitive filesystem. Travis added supprot for this around April.
2016-07-13 23:49:32 -07:00
Vladimir Matveev
cc4b331460 Merge pull request #9716 from Microsoft/moveEndsWIth
move endsWith to core.ts
2016-07-13 17:18:41 -07:00
Vladimir Matveev
4f9a23468b move endsWith to core.ts 2016-07-13 17:08:57 -07:00
Mohamed Hegazy
37d41f9ec0 Merge pull request #9713 from alexeagle/release-2.0
use getNewLine from host rather than sys
2016-07-13 16:57:11 -07:00
Mohamed Hegazy
d7e17aaf76 Merge pull request #9704 from alexeagle/master
use getNewLine from host rather than sys
2016-07-13 16:52:41 -07:00