Commit Graph

3554 Commits

Author SHA1 Message Date
Vladimir Matveev c90276f73c Merge pull request #4705 from Microsoft/keywordInJsxIdentifier
allow jsx identifiers to start with keywords
2015-09-10 15:00:09 -07:00
Yui 047b6ace6a Merge pull request #3883 from Microsoft/omitComments
Do not emit /// comments when remove comments is specified
2015-09-10 14:34:53 -07:00
Daniel Rosenwasser bed25ddf18 Merge pull request #4641 from vilic/cast-expression-parentheses-with-numeric-literal
Do not omit parentheses for numeric literal with ".property" if it can not be followed by dot operator directly.
2015-09-10 12:14:49 -07:00
Vladimir Matveev 87890af5b4 Merge pull request #4723 from Microsoft/inheritDiagnostics
inherit file processing diagnostics from the old program when reusing program structure
2015-09-10 12:06:43 -07:00
vilicvane c3323c9a69 Keep parentheses for all numeric literals with property access expression 2015-09-11 03:06:13 +08:00
Vladimir Matveev 5989d48267 addressed PR feedback 2015-09-10 12:05:23 -07:00
Vladimir Matveev 6a77400980 Merge pull request #4703 from Microsoft/jsxEmitAttribiteWithInitializer
do not emit '=' in jsx attribute if initializer is missing
2015-09-10 11:37:36 -07:00
Vladimir Matveev 6e24570135 reattach file diagnostics for modified files when reusing program structure 2015-09-10 10:46:39 -07:00
Mohamed Hegazy a5c72014b0 Merge pull request #4656 from Microsoft/Fix4655
Report error for class expressions incorrectly extending abstract classes
2015-09-09 13:35:42 -07:00
Vladimir Matveev aa29644c2a allow to use keywords as jsx identifiers 2015-09-08 22:40:16 -07:00
Vladimir Matveev 83214150f8 do not emit '=' in jsx attribute if initializer is missing 2015-09-08 18:40:30 -07:00
progre 52c99634ff #4396 fix error message typo 2015-09-05 11:16:27 +09:00
Mohamed Hegazy 3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
Vladimir Matveev 2d37a44df4 Merge pull request #4646 from Microsoft/formattingJsxAttributes
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Daniel Rosenwasser 6c23a6b534 Merge pull request #4638 from SaschaNaz/fixCommentIndentation
Fix comment indentation
2015-09-04 12:15:30 -07:00
Sheetal Nandi 46c005749b Merge branch 'release-1.6' 2015-09-04 11:21:41 -07:00
Sheetal Nandi 0573c0b006 Merge pull request #4599 from Microsoft/decoratorInferredType
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Vladimir Matveev 35d608692b handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 10:53:33 -07:00
vilicvane 32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
SaschaNaz b0f0dc1fd8 add tests for comments 2015-09-04 21:38:39 +09:00
Vladimir Matveev ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNaz 58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00
SaschaNaz 40112c5137 fix test 2015-09-03 13:32:45 -07:00
SaschaNaz b8071f99bc format intersection type 2015-09-03 13:32:34 -07:00
Vladimir Matveev e484305c98 allow backslashes in fileName argument of the transpile function 2015-09-03 13:31:57 -07:00
Vladimir Matveev dc86736820 Merge pull request #4596 from Microsoft/jsxIndentation
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev 4f4c8ee12d Merge pull request #4627 from Microsoft/backslashesInTranspile
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev feddff0b7b Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
Fix class expression indentation
2015-09-03 11:59:50 -07:00
Vladimir Matveev 9a78b66068 allow backslashes in fileName argument of the transpile function 2015-09-03 09:25:43 -07:00
SaschaNaz b8e91814bb fix test 2015-09-03 22:45:41 +09:00
SaschaNaz dfde9e4e10 format intersection type 2015-09-03 22:33:07 +09:00
SaschaNaz 8d1d0d8d70 format class expression indentation 2015-09-03 22:07:52 +09:00
Sheetal Nandi 5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Vladimir Matveev 538d5b9480 fix 'findPrecedingToken' for jsxText 2015-09-01 12:41:48 -07:00
Daniel Rosenwasser f6aac04d1e Accepted baselines. 2015-08-31 15:04:16 -07:00
Daniel Rosenwasser 4d42d21912 Accepted baselines. 2015-08-31 01:08:09 -07:00
Anders Hejlsberg 2ee80f1f10 Accepting new baselines 2015-08-28 17:50:56 -07:00
Anders Hejlsberg d63a4f1643 Fixing fourslash tests 2015-08-28 17:50:47 -07:00
Mohamed Hegazy 7f6608b2b9 Merge pull request #4537 from Microsoft/unionSubtypeReduction
Union subtype reduction
2015-08-28 17:48:57 -07:00
Anders Hejlsberg 49bb2bbc15 Accepting new baselines 2015-08-28 16:00:14 -07:00
Anders Hejlsberg 00e7c46ea9 Fixing fourslash tests 2015-08-28 15:59:37 -07:00
Ryan Cavanaugh 90aff0c654 Use synthetic identifier during emit instead 2015-08-28 14:00:36 -07:00
Ryan Cavanaugh 6b476b2b5f CR feedback 2015-08-28 13:59:29 -07:00
Dick van den Brink 1f8de043a1 Added tests for getOccurrences on this in class expressions 2015-08-28 22:11:09 +02:00
Daniel Rosenwasser 59782a98eb Merge pull request #4525 from SaschaNaz/formatFunctionType
Add two template literal tests
2015-08-28 08:52:49 -07:00
SaschaNaz 019993ea8b remove spaces 2015-08-28 23:13:15 +09:00
SaschaNaz 0703535381 Do not replace but do extend 2015-08-28 23:12:30 +09:00
Ryan Cavanaugh 38a479103b Merge pull request #4475 from RyanCavanaugh/fix4422
Correctly emit imported 'React' references in JSX.
2015-08-27 17:41:52 -07:00
Anders Hejlsberg 29ec6b0042 Merge pull request #4509 from Microsoft/noDedupeTupleTypes
Fix stack overflow with recursive tuple types
2015-08-27 16:25:25 -07:00
Anders Hejlsberg 5856cc5503 Merge pull request #4501 from Microsoft/checkClassExpressions
Properly check expressions in class extends clause
2015-08-27 16:21:02 -07:00