Commit graph

2551 commits

Author SHA1 Message Date
Vladimir Matveev e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -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
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
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
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 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
Anders Hejlsberg c56683caf3 Merge pull request #4484 from Microsoft/suppressExcessPropertyErrors
Adding -suppressExcessPropertyErrors compiler option
2015-08-27 16:20:28 -07:00
Anders Hejlsberg 1b08f8adc9 Adding tests 2015-08-27 16:12:04 -07:00
Mohamed Hegazy 6975626581 Merge branch 'release-1.6' 2015-08-27 15:23:04 -07:00
Ron Buckton 481c18c892 Added test 2015-08-27 15:21:40 -07:00
Daniel Rosenwasser cabc0fff11 Merge pull request #4442 from SaschaNaz/formatFunctionType
Format function type (and others)
2015-08-27 14:52:52 -07:00
Anders Hejlsberg c0267ec8e1 Adding test 2015-08-27 14:22:42 -07:00
Yui T 2ef73db498 Add tests 2015-08-27 14:01:34 -07:00
Yui 4a75f93934 Merge pull request #4503 from Microsoft/fixClassExpClassfication
Fix classification for class expression
2015-08-27 13:58:30 -07:00
Ron Buckton 67b00feadf Added test 2015-08-27 13:31:31 -07:00
Yui T 4c51626469 Add tests 2015-08-27 13:16:10 -07:00
SaschaNaz 3e572f5b71 change some template literal tests 2015-08-28 00:00:34 +09:00
SaschaNaz 96174ba1a7 adding tests 2015-08-27 22:59:10 +09:00
Anders Hejlsberg f5b85acd74 Adding test 2015-08-26 17:14:33 -07:00
Daniel Rosenwasser 50127a5adf Added tests. 2015-08-26 16:42:06 -07:00
Daniel Rosenwasser c9c6d82376 Merge pull request #4480 from Microsoft/goToDefinitionOnConstructors
Fix issue with go-to-definition when first declaration of symbol is not specifically a class declaration
2015-08-26 16:39:29 -07:00