943 Commits

Author SHA1 Message Date
Ron Buckton
20347ad615 Merge pull request #5597 from Microsoft/typesCleanup
Types cleanup
2015-11-17 10:54:50 -08:00
Wesley Wigham
e41bfd1ccc fix many lints 2015-11-13 17:43:53 -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
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
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
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
Yui T
e405ccebec fix linter failure 2015-10-12 11:48:38 -07:00
Yui T
d3e10b3d3f Merge remote-tracking branch 'origin/master' into exponentiation
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/program.ts
2015-10-12 10:54:46 -07:00
Daniel Rosenwasser
3788254fdc Semicolon. 2015-10-08 15:49:32 -07:00
Daniel Rosenwasser
6e3343cb9e Merge branch 'master' into stringLiteralTypes 2015-10-08 15:18:18 -07:00
Yui T
cd3f711a76 Address PR feedback 2015-10-08 14:38:58 -07:00
Yui T
75de6d4530 Add comment 2015-10-07 18:44:20 -07:00
Yui T
37db03ae6a Address feedback on diagnostic message 2015-10-07 14:50:58 -07:00
Yui T
d96a00e4b8 Parse typeAssertion expression as simpleUnaryExpression 2015-10-06 15:28:48 -07:00
Yui T
bfaa51b4e9 Add comment and address PR on comment 2015-10-06 14:09:47 -07:00
Yui T
69dc707c14 Update parse to use new grammar 2015-10-05 18:56:08 -07:00
Vladimir Matveev
a975895e4d parse/check/emit shorthand property assignment in destructuring 2015-10-05 14:39:57 -07:00
Yui T
ce7a054407 Update parser with new grammar 2015-10-05 10:34:48 -07:00
Yui T
1326ba9820 Update grammar to error on none-parenthesis 2015-10-02 19:23:58 -07:00
Nathan Shively-Sanders
04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Daniel Rosenwasser
dc0e368f82 Make string literals valid types in type lists. 2015-10-01 16:45:48 -07:00
Daniel Rosenwasser
191be4f8fe Make string literals valid constituent types nodes in the parser. 2015-10-01 15:55:36 -07:00
Wesley Wigham
b95e1ff6d8 This is what zero linter errors feels like 2015-09-30 16:10:52 -07:00
Yui T
df18dfcaae Address PR 2015-09-25 14:38:08 -07:00
Anders Hejlsberg
285483d871 Merge branch 'master' into polymorphicThisType
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
2015-09-22 10:04:23 -07:00
Vladimir Matveev
c56b4165ec disambiguate: 'implements' starts heritage clause vs 'implements' is a class name 2015-09-21 22:22:25 -07:00
Yui T
1140eb8177 Parse ES7 UnaryExpression and IncrementExpression 2015-09-21 15:43:33 -07:00
Anders Hejlsberg
9438a4bce0 Polymorphic "this" type 2015-09-21 14:29:31 -07:00
Yui T
21d03690c0 Basic parsing for the UnaryExpression: IncrementExpression[?Yield]**UnaryExpression[?Yield] 2015-09-18 18:38:59 -07:00