Commit Graph

35940 Commits

Author SHA1 Message Date
SaschaNaz 0fc9e7e313 simplified code flow 2015-09-06 16:02:38 +09:00
Anders Hejlsberg 31f8a8148c Adding test for excess/missing properties 2015-09-05 15:46:45 -07:00
Anders Hejlsberg f801420946 Accepting new baselines 2015-09-05 15:46:20 -07:00
Anders Hejlsberg a0ddd437ef Modifying tests 2015-09-05 15:45:20 -07:00
Anders Hejlsberg bb8179766a Check for excess properties 2015-09-05 15:42:58 -07:00
Anders Hejlsberg e40b86f195 Accepting new baselines 2015-09-05 13:19:06 -07:00
Anders Hejlsberg dc8ad6eb5e Store binding pattern in contextual type 2015-09-05 13:17:33 -07:00
Daniel Rosenwasser 971c777031 Merge pull request #4659 from progre/fix-errormessagetypo
Fix error message typo.
2015-09-05 10:47:29 -07:00
SaschaNaz 40f3fcf575 remove hasBraceShell and add namedBindings check 2015-09-05 11:43:08 +09:00
progre 52c99634ff #4396 fix error message typo 2015-09-05 11:16:27 +09:00
Daniel Rosenwasser 4a85546f94 Merge pull request #4497 from weswigham/patch-4
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Daniel Rosenwasser 69b9a1b74a Merge pull request #4658 from weswigham/patch-5
Add debug option to runtests
2015-09-04 18:08:48 -07:00
Wesley Wigham bd520e10ca Add debug option to runtests
Running `runtests` with `debug` will cause mocha to run in debug mode and break on the first line, enabling one to connect a debugger to the running tests and step through a test at their leisure.
2015-09-04 18:01:43 -07:00
Daniel Rosenwasser 8952ed66b2 Accepted baselines. 2015-09-04 17:57:06 -07:00
Daniel Rosenwasser 5297a7f319 Ensure that zero-element binding patterns don't try to reuse assigned identifiers. 2015-09-04 17:53:56 -07:00
Mohamed Hegazy d8c6f7edc3 fix additional places where class expression should be queried 2015-09-04 17:46:26 -07:00
Mohamed Hegazy 3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
vilicvane 8d45711395 Else on the next line 2015-09-05 06:43:37 +08:00
Vladimir Matveev 03d373dfae Merge pull request #4650 from Microsoft/Port-4646
Port PR-4646 into release-1.6
2015-09-04 13:36:12 -07:00
Vladimir Matveev 97b846c444 handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 13:03:47 -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 9ba2fdaf68 Accepted baselines. 2015-09-04 12:31:54 -07:00
Daniel Rosenwasser 6c23a6b534 Merge pull request #4638 from SaschaNaz/fixCommentIndentation
Fix comment indentation
2015-09-04 12:15:30 -07:00
Daniel Rosenwasser 3518ad1723 Added more test cases. 2015-09-04 12:14:57 -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
vilicvane 856f2d895c Fix issue #4603 2015-09-04 21:47:28 +08:00
SaschaNaz 4aded270f7 move declaration into the block 2015-09-04 21:54:14 +09:00
SaschaNaz b0f0dc1fd8 add tests for comments 2015-09-04 21:38:39 +09:00
SaschaNaz 59f5ce4582 fix comment indentation 2015-09-04 19:35:07 +09:00
SaschaNaz 74ef1b25ac Merge https://github.com/Microsoft/TypeScript into formatTsxAttr 2015-09-04 12:25:29 +09:00
SaschaNaz c49c68d8f9 Manual merge 2015-09-04 12:22:15 +09:00
SaschaNaz bcb8cc3e81 Manual merge 2015-09-04 12:07:24 +09:00
SaschaNaz c63b30afd5 Merge branch 'master' into fixExportImportFormatting 2015-09-04 11:46:13 +09:00
Mohamed Hegazy 7a0c28ccc8 make the test more specific 2015-09-03 14:11:54 -07:00
Wesley Wigham 568e4a5601 sample 2015-09-03 13:54:08 -07:00
Mohamed Hegazy a579d41a57 Do not add symbol if it is undefined 2015-09-03 13:53:00 -07:00
Vladimir Matveev f47650c3b3 Merge pull request #4631 from Microsoft/formattingFixesFromMaster
Port formatting related issues from master
2015-09-03 13:52:39 -07: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 3c96e70766 Merge pull request #4623 from SaschaNaz/formatIntersectionType
Format intersection type
2015-09-03 11:59:23 -07:00
Daniel Rosenwasser fafbec60de Merge pull request #4552 from Microsoft/bettErrErrorsForObjectLiteralExcessProperties
Better error spans for object literal excess properties
2015-09-03 10:03:53 -07:00