Commit Graph

8830 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
c1ea85fa72 Merge pull request #5588 from Microsoft/reexport-default-export
Reexport default export
2015-11-11 11:29:31 -08:00
Nathan Shively-Sanders
9472c0be99 Remove now-unused function
`doesNameResolveToLocalSymbolForExportDefault` is no longer used, so
delete it.
2015-11-11 10:53:24 -08:00
Daniel Rosenwasser
9c1796f714 Merge pull request #5607 from Microsoft/fixTypeApparentization
Only get the apparent type of a contextual type when needed
2015-11-11 10:27:08 -08:00
Nathan Shively-Sanders
e62603ba85 Move export default check before module merge one
As suggested by Anders.
2015-11-11 08:51:37 -08:00
Daniel Rosenwasser
b93394a7ac Added to comment. 2015-11-10 23:15:48 -08:00
Daniel Rosenwasser
ce455dac2b Accepted baselines. 2015-11-10 22:43:07 -08:00
Daniel Rosenwasser
9d3d49d636 Only get the apparent type when necessary. 2015-11-10 22:30:35 -08:00
Daniel Rosenwasser
2a370c9aa7 Added tests for string literal types used as generic constraints. 2015-11-10 14:40:19 -08:00
Wesley Wigham
75364b6988 Merge pull request #5589 from weswigham/tsconfig-error-handling
Add handling for json parse errors in tsconfig
2015-11-10 14:01:38 -08:00
Wesley Wigham
00130f1a68 Handle when using -p and config file not found 2015-11-10 13:20:28 -08:00
Nathan Shively-Sanders
c289106c4d Merge pull request #5575 from Microsoft/apply-captured-outer-type-parameters
Apply captured outer type parameters
2015-11-10 13:15:00 -08:00
Nathan Shively-Sanders
f3d2963ff7 Change back from jsdoc comment. 2015-11-10 13:13:58 -08:00
Vladimir Matveev
072e93898d Merge pull request #5535 from Microsoft/computedPropertiesInDestructuringPR
allow computed properties in destructuring, treat computed properties…
2015-11-10 13:11:05 -08:00
Nathan Shively-Sanders
58b5d29c52 Improve comment 2015-11-10 13:05:30 -08:00
Daniel Rosenwasser
f80a6c6e86 Accepted baselines. 2015-11-10 13:03:11 -08:00
Daniel Rosenwasser
3812745737 Added other tests for string literal types. 2015-11-10 12:59:45 -08:00
Wesley Wigham
abc230195c Add handling for json parse errors 2015-11-10 12:12:14 -08:00
Ryan Cavanaugh
ad61788113 Merge pull request #5266 from Microsoft/javaScriptModules
JavaScript LS scaffolding + JS module inference
2015-11-10 11:59:09 -08:00
Daniel Rosenwasser
694c714cf5 Added test for parenthesized string literals. 2015-11-10 11:56:32 -08:00
Nathan Shively-Sanders
e30a01db0f Add test case and accept baseline 2015-11-10 11:44:56 -08:00
Nathan Shively-Sanders
48e985d72f Prevent resolveName from ignoring default exports 2015-11-10 11:35:03 -08:00
Nathan Shively-Sanders
64e4cc306c Improve efficiency and naming
The unapplied outer parameters check now checks only whether the last
outer parameter is unapplied, and its name is now positive --
are-all-applied vs are-some-unapplied.
2015-11-10 08:55:24 -08:00
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
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
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
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
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
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
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
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