Commit Graph

7816 Commits

Author SHA1 Message Date
Anders Hejlsberg eee211a2a6 Instantiate type parameter constraints with type parameter as 'this' 2015-11-06 08:54:22 -08:00
Sheetal Nandi def7b665bb PR feedback 2015-11-05 20:09:40 -08:00
Anders Hejlsberg 9b4956fa11 Merge pull request #5459 from Microsoft/partialSignatureMatching
Fix union type partial signature matching
2015-11-05 16:46:52 -08:00
Anders Hejlsberg 31331ff6d1 Addressing CR feedback 2015-11-05 16:31:30 -08:00
Daniel Rosenwasser 0a706c4780 Merge branch 'master' into comparableRelation
Conflicts:
	src/compiler/checker.ts
2015-11-05 15:48:40 -08:00
Daniel Rosenwasser a37b731193 Changed type assertion error message. 2015-11-05 15:44:56 -08:00
Vladimir Matveev 572db9c403 merge with master 2015-11-05 14:46:27 -08:00
SaschaNaz 221198f704 Merge https://github.com/Microsoft/TypeScript into formatWhitespaces 2015-11-05 22:42:15 +09:00
Vladimir Matveev 2de55febb1 merge with master 2015-11-04 21:49:44 -08:00
Wesley Wigham 98e9fea6e6 Merge branch 'master' into 5378-equality-fix 2015-11-04 19:20:14 -08:00
Nathan Shively-Sanders 57f7d7f9df Reword predicate to be more readable 2015-11-04 16:44:21 -08:00
Vladimir Matveev db2b23da00 allow computed properties in destructuring, treat computed properties with literal expressions similar to literal named properties 2015-11-04 15:35:21 -08:00
Wesley Wigham 8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Daniel Rosenwasser 6c8c1223f2 'with' to 'to' 2015-11-04 13:19:15 -08:00
Daniel Rosenwasser 42c49cea0d Style. 2015-11-04 13:05:46 -08:00
Mohamed Hegazy b8e5a89667 Merge pull request #5527 from Microsoft/updateDefaults
Update default configurations for --init
2015-11-04 09:33:55 -08:00
Mohamed Hegazy ec716549a5 Update default configurations 2015-11-04 09:08:33 -08:00
Vladimir Matveev 652a3a4a55 do not report 'unreachable code' on empty statements 2015-11-03 22:30:27 -08:00
Daniel Rosenwasser 80a50aa104 Appease the almighty linter. 2015-11-03 17:39:53 -08:00
Daniel Rosenwasser e224083038 Updated error message. 2015-11-03 17:17:53 -08:00
Wesley Wigham d4353fd0c8 Merge branch 'master' into empty-set 2015-11-03 14:40:00 -08:00
Wesley Wigham 77c69daf2e const all the things 2015-11-03 14:35:11 -08:00
Mohamed Hegazy 884dff03ba Use relative file name when reporting errors 2015-11-03 14:27:26 -08:00
Ryan Cavanaugh dbf5762156 SFCs for JSX WIP 2015-11-03 13:05:11 -08:00
Daniel Rosenwasser b9368a955c Fixed comment. 2015-11-03 12:55:18 -08:00
Daniel Rosenwasser 2be7f4f27b Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used. 2015-11-03 12:53:31 -08:00
Martin Všetička 30499e7ee5 Support '/dev/stdout' as a valid '--out' parameter 2015-11-03 08:05:49 +01:00
Wesley Wigham 1baea88246 shorten function 2015-11-02 17:04:59 -08:00
Daniel Rosenwasser 83c33551ae Added 'README.md' files to 'lib' and 'src/lib'. 2015-11-02 16:57:57 -08:00
Wesley Wigham 6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Wesley Wigham 265fb518a8 feedback from CR 2015-11-02 16:54:12 -08:00
Daniel Rosenwasser a44a340449 Fix description of '--pretty'. 2015-11-02 16:40:35 -08:00
Daniel Rosenwasser ce24bcb2ee ; 2015-11-02 15:45:57 -08:00
Daniel Rosenwasser 32b259eb84 Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:31:23 -08:00
Daniel Rosenwasser e5f105367a Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:28:42 -08:00
Daniel Rosenwasser 40f10abe01 Forget about tty detection. It won't work in build tools. 2015-11-02 15:23:15 -08:00
Vladimir Matveev fb15e9c7c0 Merge pull request #4788 from Microsoft/reachabilityChecks
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser 654cbd9779 Just name the option 'pretty' for now. 2015-11-02 13:20:48 -08:00
Daniel Rosenwasser 4219c5ffec Added colors to diagnostic types, addressed some CR feedback. 2015-11-02 13:12:19 -08:00
Wesley Wigham 6de5221dcd dont mutate 2015-11-02 12:53:27 -08:00
Mohamed Hegazy 3e631449a1 Merge pull request #5450 from sarod/allow-comments-tsconfig
Allow comments in tsconfig.json
2015-11-02 11:46:44 -08:00
Yui f503169f8c Merge pull request #5472 from MartyIX/issue-5183
Fix copyright comments are not preserved when generating d.ts files
2015-11-02 11:21:47 -08:00
Nathan Shively-Sanders cc64210519 Merge pull request #5474 from Microsoft/forbid-this-as-constructor-parameter-type
Forbid this as constructor parameter type
2015-11-02 11:04:36 -08:00
Wesley Wigham d48a4f0cf1 fix nits 2015-11-02 10:48:59 -08:00
Martin Vseticka 1703972dd2 Preserve copyright comments when generating d.ts files 2015-11-02 17:07:16 +01:00
Sébastien Arod 638e4b758a Use regex for repacing comments content.
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod 00b389d477 New commit using TS scanner.
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00
Nathan Shively-Sanders 201266b97f Switch to isNodeDescendantOf 2015-10-31 12:42:04 -07:00
Daniel Rosenwasser 48c2bb1c50 Fixed 'tsconfig.json' ordering. 2015-10-30 18:10:31 -07:00
Daniel Rosenwasser fa2e614f9f Merge branch 'master' into iFeelPrettyErr 2015-10-30 18:10:05 -07:00