Commit Graph

23471 Commits

Author SHA1 Message Date
Daniel Rosenwasser 9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -08:00
Daniel Rosenwasser 92d37c3029 Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
2015-11-09 15:43:26 -08:00
Ryan Cavanaugh eaeeb1f762 Fix TC 2015-11-09 15:19:41 -08:00
Wesley Wigham 9024032571 use typeof 2015-11-09 15:13:55 -08:00
Vladimir Matveev 5d9e7e10c0 Merge pull request #5576 from Microsoft/importsInShorthandProps
use modulekind to check if initializer for shorthand property assignm…
2015-11-09 14:57:47 -08:00
Nathan Shively-Sanders eba94b4e85 Address comments 2015-11-09 14:53:21 -08:00
Ryan Cavanaugh 69ca1f2e1d Merge remote-tracking branch 'origin/master' into javaScriptModules
# Conflicts:
#	src/compiler/parser.ts
2015-11-09 14:48:37 -08:00
Daniel Rosenwasser fb192e2464 Accepted baselines. 2015-11-09 14:41:44 -08:00
Daniel Rosenwasser cece4411ca Get rid of the concept of 'isDefaultLib'. 2015-11-09 14:40:57 -08:00
Wesley Wigham a32f44f9f4 Add command line flag to allow synthetic default exports 2015-11-09 14:36:00 -08:00
Daniel Rosenwasser 8a959ead4c Removed no-default-lib comment from test case. 2015-11-09 14:34:23 -08:00
Vladimir Matveev fe770bdd75 addressed PR feedback 2015-11-09 13:56:18 -08:00
Vladimir Matveev 6f08e89455 use modulekind to check if initializer for shorthand property assignment should be emitted 2015-11-09 13:34:30 -08:00
Wesley Wigham 14d65098c9 Merge pull request #5385 from weswigham/5378-equality-fix
Stop considering symbol names when checking type parameter identity
2015-11-09 13:32:43 -08:00
Daniel Rosenwasser ea4e21d969 Fixed comments. 2015-11-09 13:27:19 -08:00
Daniel Rosenwasser d294524861 Accepted baselines. 2015-11-09 13:27:08 -08:00
Wesley Wigham f153c33ace Merge pull request #5090 from weswigham/out-module-concat
--outFile & --module concatenation
2015-11-09 13:19:31 -08:00
Ryan Cavanaugh 52b25a5437 WIP 2015-11-09 13:16:59 -08:00
Wesley Wigham 977c3eec22 fix lints 2015-11-09 12:50:38 -08:00
Ryan Cavanaugh e630ce247b Fix merge problems from master 2015-11-09 12:49:36 -08:00
Daniel Rosenwasser 38090c6ba5 Added tests for template strings with string literal types. 2015-11-09 12:48:58 -08:00
Wesley Wigham cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Wesley Wigham 5f184866af Merge branch 'master' into empty-set 2015-11-09 12:17:07 -08:00
Wesley Wigham e75286121f Merge branch 'master' into 5378-equality-fix 2015-11-09 11:56:31 -08:00
Wesley Wigham 4cba1b2b76 Merge pull request #5536 from Microsoft/travis-stable
Have travis build against node 5
2015-11-09 11:49:14 -08:00
Nathan Shively-Sanders 569cf96d06 Fix new and improved linter errors 2015-11-09 10:48:22 -08:00
Vladimir Matveev a531610eb9 fix merge issue 2015-11-09 10:46:50 -08:00
Nathan Shively-Sanders b44e33155f Merge branch 'master' into apply-captured-outer-type-parameters 2015-11-09 10:46:23 -08:00
Nathan Shively-Sanders 0cf4c6caba Fix linter error 2015-11-09 10:44:02 -08:00
Vladimir Matveev 810c45b5fb Merge branch 'master' into elideExportStarForNonValues 2015-11-09 10:38:38 -08:00
Vladimir Matveev a4d10bd777 Merge pull request #5561 from Microsoft/oneEmitter
A few perf-related low hanging fruits
2015-11-09 10:35:37 -08:00
Nathan Shively-Sanders a6068e1c08 More test cases and accept baselines 2015-11-09 10:21:54 -08:00
Nathan Shively-Sanders 81c2cb90e8 apply captured type parameters to returned classes
Get instantiated constructors for classes with captured (outer) type
parameters that have not yet been applied. The fast path was incorrect for
these classes.
2015-11-09 10:16:16 -08:00
mihailik 4ca24bf131 Use ts.indexOf instead of Array.prototype.indexOf
(keep consistent with the rest of codebase, and thus enable ES3-compatibility of tsc and services)
2015-11-09 09:52:13 +00:00
mihailik efbacb97c9 Use ts.indexOf instead of Array.prototype.indexOf
(keep consistent with the rest of codebase, and thus enable ES3-compatibility of tsc and services)
2015-11-09 09:45:57 +00:00
Jeffrey Morlan 470d1d28ab Fix issue #5444
reportImplementationExpectedError: The next node in the tree is not
necessarily consecutive. This happens due to syntax errors, e.g.

    class C { foo(), foo(); }
2015-11-08 12:00:27 -08:00
Vladimir Matveev 72723e93be do not report 'excess property error' if object literal pattern contains computed properties 2015-11-07 16:56:16 -08:00
Vladimir Matveev 3f1596bba7 remove nodeConstructors array, replace it with single local 2015-11-07 15:28:21 -08:00
Mohamed Hegazy c3df2890fc Merge pull request #5092 from tinganho/instanceOfElseClause
Instance of else clause
2015-11-07 12:20:36 -08:00
Ryan Cavanaugh 7dd1bf487d Merge branch 'master' into javaScriptModules
# Conflicts:
#	lib/lib.es6.d.ts
#	lib/tsc.js
#	lib/tsserver.js
#	lib/typescript.d.ts
#	lib/typescript.js
#	lib/typescriptServices.d.ts
#	lib/typescriptServices.js
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/compiler/parser.ts
#	src/compiler/program.ts
#	src/harness/fourslash.ts
2015-11-06 16:49:09 -08:00
Anders Hejlsberg d1c7a62a60 Merge pull request #5552 from Microsoft/thisAndConstraints
Instantiate constraints with type parameter as 'this'
2015-11-06 16:45:05 -08:00
Vladimir Matveev 39415d1594 Merge branch 'master' into oneEmitter 2015-11-06 16:42:14 -08:00
Ryan Cavanaugh 3f4e5a4552 Merge branch 'master' into javaScriptModules
# Conflicts:
#	tests/webTestServer.ts
2015-11-06 16:34:38 -08:00
Vladimir Matveev 45746d11a6 make emitter singleton, replace reading file properties with local access, use one constructor function for all nodes 2015-11-06 16:21:43 -08:00
Mohamed Hegazy aa3999419c Merge pull request #5555 from Microsoft/addGetCurrentDirectory
Add getCurrentDirectory to call to createDocumentRegistry
2015-11-06 15:17:38 -08:00
Daniel Rosenwasser c011ed455b Const. 2015-11-06 15:00:35 -08:00
Ryan Cavanaugh d880d4f4fb Don't look for .js files when resolving node modules 2015-11-06 14:38:29 -08:00
Daniel Rosenwasser d234b8df2e Accepted baselines. 2015-11-06 14:28:54 -08:00
Daniel Rosenwasser f939ff23ce Fixed unreachable code in tests. 2015-11-06 14:25:32 -08:00
Mohamed Hegazy c0bb2eaaea Add getCurrentDirectory to call to createDocumentRegistry 2015-11-06 14:16:44 -08:00