Commit Graph

971 Commits

Author SHA1 Message Date
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 144d24c2cb Change "object type literal" to "type literal" 2015-11-30 21:52:50 -08:00
Sheetal Nandi a87169829c Merge branch 'master' into sourceMapAndBreakpointDecorators 2015-11-30 14:14:06 -08:00
Vladimir Matveev 9552d4da44 ignore all trivia except singleline comments when processing tripleslash references 2015-11-29 21:17:31 -08:00
Nathan Yee e363c7582b Revert baseline changes to the objectTypeLiteralSyntax2 test 2015-11-28 17:24:34 -08:00
Nathan Yee 6c755c90db Report property errors in the checker instead of the parser 2015-11-27 18:11:28 -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 Yee 5b3d299412 Clarify comment 2015-11-20 13:33:58 -08:00
Nathan Yee 40a2a2584d Fix object type literal regression 2015-11-20 13:31:17 -08:00
Nathan Yee c93f454549 Implement #5173
Give more helpful error when trying to set default values on an
interface
2015-11-20 08:30:50 -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 ba2238fe58 Decorators node array should have pos at token @ instead of actual decorator expression 2015-11-19 16:48:45 -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 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
Wesley Wigham e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Sheetal Nandi fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -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
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 9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -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
Ryan Cavanaugh e630ce247b Fix merge problems from master 2015-11-09 12:49:36 -08:00
Vladimir Matveev 3f1596bba7 remove nodeConstructors array, replace it with single local 2015-11-07 15:28:21 -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
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
Ryan Cavanaugh 7a94031475 Rename isTsx for clarity 2015-11-06 14:11:15 -08:00
Daniel Rosenwasser bb232f739d Merge remote-tracking branch 'origin/master' into stringLiteralTypes 2015-11-06 13:06:43 -08:00
Sheetal Nandi 4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
Vladimir Matveev 572db9c403 merge with master 2015-11-05 14:46:27 -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
Sheetal Nandi b217b8b620 Merge branch 'master' into jsFileCompilation 2015-10-30 09:34:32 -07:00
Sheetal Nandi 0c3c7f1a1b Treat the .jsx and .tsx files as jsx when parsing and .js files are parsed in standard mode 2015-10-28 16:39:22 -07:00
Sheetal Nandi 2d3a345fd3 Since there arent any user given extensions, have extensions start with "." like before 2015-10-28 16:24:53 -07:00
Daniel Rosenwasser 049d02f871 Merge branch 'master' into stringLiteralTypes 2015-10-22 23:42:00 -07:00
Ryan Cavanaugh bede6edc51 Merge pull request #5366 from RyanCavanaugh/typeOperatorSpacingRule
Type operator spacing rule
2015-10-22 16:33:21 -07:00
Ryan Cavanaugh 69236c9be8 Add rule to check spaces around intersection/union type operators 2015-10-22 11:35:48 -07:00
Daniel Rosenwasser 307d73ed0d Merge branch 'master' into stringLiteralTypes 2015-10-21 17:02:29 -07:00
Vladimir Matveev 7c064af052 initialize fields from constructor parameters 2015-10-21 15:33:30 -07:00
Ryan Cavanaugh 6ccb2a5ef2 Better error recovery for adjacent JSX elements in expression positions
Fixes #5286
2015-10-16 13:47:57 -07:00
Daniel Rosenwasser 725bda834a Merge branch 'master' into stringLiteralTypes 2015-10-15 13:12:49 -07:00
Sheetal Nandi acf7de7d34 Merge branch 'master' into tscJsFiles 2015-10-15 12:30:55 -07:00
Ryan Cavanaugh 1a36fce4c2 JavaScript LS scaffolding + JS module inference 2015-10-14 17:36:03 -07:00
Yui 77eaf04386 Merge pull request #4914 from Microsoft/exponentiation
[ES7] Exponentiation
2015-10-12 16:37:45 -07:00