Commit Graph

985 Commits

Author SHA1 Message Date
Daniel Rosenwasser cc5334eb89 Made 'expression' non-optional in 'CaseClause'. 2015-12-18 14:06:08 -08:00
Yui T 73911a327d Merge branch 'master' into fix4686_fixrename 2015-12-17 18:35:08 -08:00
Ryan Cavanaugh 2f447ee005 Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Yui T 7e71686b1a Fix broken tests 2015-12-14 10:14:35 -08:00
Yui T 0f3eb0a058 Initial fix for rename for parameter property declaration 2015-12-11 19:27:24 -08:00
Anders Hejlsberg ff784770be Merge pull request #5949 from Microsoft/typeParametersAsConstraints
Type parameters as constraints
2015-12-10 16:53:59 -08:00
Wesley Wigham 028484664d most pr feedback 2015-12-09 15:53:39 -08:00
Ryan Cavanaugh 50892acfd8 Address CR feedback 2015-12-09 11:16:57 -08:00
Wesley Wigham b0bfa0f0dc Merge branch 'master' into this-type-guards 2015-12-08 17:48:33 -08:00
Wesley Wigham 459430165d grand unified theory of predicate types 2015-12-08 17:08:57 -08:00
Vladimir Matveev 268e7c0d09 Merge remote-tracking branch 'origin/master' into elideExportStarForNonValues 2015-12-08 13:15:56 -08:00
Wesley Wigham be6e341d2a Fix narrowing, interfaces. Expose issue with generic instantiation 2015-12-07 18:16:05 -08:00
Anders Hejlsberg 99e6542842 Merge branch 'master' into typeParametersAsConstraints
Conflicts:
	tests/baselines/reference/functionConstraintSatisfaction2.errors.txt
2015-12-05 10:42:25 -08:00
Ryan Cavanaugh fcd00a59d2 Simplified JS prototype class inference 2015-12-04 14:58:32 -08:00
Ryan Cavanaugh 6bb62d6daf Merge remote-tracking branch 'upstream/master' into javaScriptPrototypes 2015-12-04 14:12:01 -08:00
Ryan Cavanaugh fabc43d0d4 JS Prototypes WIP 2015-12-04 14:11:56 -08:00
Wesley Wigham b9f310d4f2 first pass at this type predicate members 2015-12-03 18:21:36 -08:00
Wesley Wigham 859cc53c11 Add tests, remove internal annotation form enum 2015-12-02 19:49:43 -08:00
Wesley Wigham c4cff9833d first pass at this type predicates 2015-12-02 18:35:49 -08:00
Nathan Shively-Sanders a4770afc69 Merge pull request #5777 from Microsoft/elaborate-interface-signature-errors
Elaborate interface signature errors
2015-12-02 15:54:07 -08:00
Anders Hejlsberg 973ba4b50e Allow type parameters in constraints 2015-12-01 15:51:43 -08:00
Ryan Cavanaugh c3b59d156f Merge branch 'master' into javaScriptPrototypes
# Conflicts:
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/harness/fourslash.ts
2015-12-01 14:34:15 -08:00
Ryan Cavanaugh bafe053925 Merge branch 'master' into statelessFunctionComponents 2015-12-01 14:21:33 -08:00
Daniel Rosenwasser 4092de6993 Merge pull request #5736 from UBC-CPEN/issue-5173
Give more helpful error when trying to set default values on an interface.
2015-12-01 13:05:09 -08:00
Nathan Yee 6c755c90db Report property errors in the checker instead of the parser 2015-11-27 18:11:28 -08:00
Wesley Wigham d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -08:00
Ron Buckton 8909c3a2dd Merge pull request #5725 from Microsoft/stringTypesCleanup
Disambiguate string literal types from other string literals.
2015-11-24 15:23:25 -08:00
Nathan Shively-Sanders c35f7da0fa Elaborate interface signature errors
Signature errors were not reported before.
2015-11-24 09:34:20 -08:00
Wesley Wigham f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -08:00
Ron Buckton f5b8619199 Adds StringLiteralType to SyntaxKind to disambiguate string literals in a type position. 2015-11-19 17:08:51 -08:00
Sheetal Nandi 883b8d9347 Merge pull request #5471 from Microsoft/jsFileCompilation
Compilation of Js Files
2015-11-19 16:30:40 -08:00
Ron Buckton 7d6100bbe8 Merge pull request #5719 from Microsoft/typesCleanup2
Additional Types cleanup.
2015-11-19 15:32:28 -08:00
Sheetal Nandi a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -08:00
Ron Buckton 4be0095a7c Clean up unnecessary comment annotations 2015-11-17 10:56:02 -08:00
Ron Buckton 20347ad615 Merge pull request #5597 from Microsoft/typesCleanup
Types cleanup
2015-11-17 10:54:50 -08:00
Ron Buckton 443abe6dea Adds ThisType to SyntaxKind, to distinguish between a 'this' expression and a 'this' type. Needed for transforms 2015-11-17 10:53:29 -08:00
Sheetal Nandi 073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -08:00
Sheetal Nandi fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Daniel Rosenwasser 527f4658ad Use string literal types in the command line parser. 2015-11-11 12:25:03 -08:00
Ron Buckton 5ac4b782e0 Merge branch 'master' into typesCleanup 2015-11-10 14:31:02 -08:00
Ron Buckton 79b7146d0b Cleanup of types 2015-11-10 13:30:26 -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
Vladimir Matveev 9da2d3ee3f merge with master 2015-11-10 12:22:48 -08:00
Ryan Cavanaugh a0d24e35ec Merge branch 'master' into statelessFunctionComponents
# Conflicts:
#	src/compiler/checker.ts
#	src/harness/harness.ts
2015-11-10 12:06:57 -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
Ryan Cavanaugh e30a64fbdf JSX SFC WIP 2015-11-09 23:10:04 -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
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 cece4411ca Get rid of the concept of 'isDefaultLib'. 2015-11-09 14:40:57 -08:00