Commit Graph

926 Commits

Author SHA1 Message Date
Daniel Rosenwasser bb232f739d Merge remote-tracking branch 'origin/master' into stringLiteralTypes 2015-11-06 13:06:43 -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
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
Yui T 76ef7b40de Initial operator. Need to fix the grammar for unaryExpression 2015-09-18 18:31:52 -07:00
Vladimir Matveev 5989d48267 addressed PR feedback 2015-09-10 12:05:23 -07:00
Vladimir Matveev aa29644c2a allow to use keywords as jsx identifiers 2015-09-08 22:40:16 -07:00
Jason Killian 4db535d949 Add comment 2015-08-27 14:04:00 -04:00
Jason Killian 69249cbed7 Propagate namespace flag to namespaces nested with dot syntax 2015-08-27 11:36:57 -04:00
zhengbli 582b0aa31e parse jsdoc param tag even without a param name 2015-08-21 13:07:41 -07:00
Ryan Cavanaugh dd446d80ad Fix comment 2015-08-11 11:05:37 -07:00
Ryan Cavanaugh cdd5b6a7e9 Rename parameter 2015-08-07 16:23:34 -07:00
Ryan Cavanaugh 4a96491d5b Remove silly function 2015-08-07 16:06:49 -07:00
Ryan Cavanaugh 5f6ac45bde S p a c e s 2015-08-07 16:03:45 -07:00
Ryan Cavanaugh 555297a62b Fix case where # occurs after > in JSX expression 2015-08-07 15:46:36 -07:00
Wesley Wigham 91f034669d Conform lint of the future, unify quotations 2015-08-04 13:33:01 -07:00
Wesley Wigham 5a6d476797 Fix as many linter errors as possible 2015-08-04 13:31:25 -07:00
Jason Freeman 95cd3c3d0f Allow super element access 2015-07-15 14:42:13 -07:00
Daniel Rosenwasser 30c6947ae3 Addressed CR feedback. 2015-07-13 17:55:48 -07:00
Daniel Rosenwasser e5b8f87927 Merge branch 'master' into exportSpecifierCompletions
Conflicts:
	src/services/services.ts
2015-07-10 17:30:20 -07:00
Daniel Rosenwasser 69f93fe116 Added error recovery for missing 'from' keyword in an export declaration. 2015-07-10 16:27:40 -07:00