Commit Graph

26317 Commits

Author SHA1 Message Date
Wesley Wigham 454ab50851 Merge pull request #9035 from weswigham/patch-6
Remove Completed TODO
2016-06-08 16:00:41 -07:00
Nathan Shively-Sanders 7c1b28f2cb Allow primitive type guards with typeof on right
Previously, only type guards of the form `typeof x === 'string'` were
allowed. Now you can write `'string' === typeof x`.
2016-06-08 15:55:08 -07:00
Zhengbo Li 8f39f0574d Merge pull request #9032 from zhengbli/printTrace
Return trace when exception happens
2016-06-08 15:46:48 -07:00
Wesley Wigham 5a0ae4ad22 Remove Long-Done TODO
AFAIK, the harness sources have been concatenated into `run.js` for as long as I've known. This stops executing them twice (and in turn makes debugging tests much easier, since you no longer have to debug into eval'd code).
2016-06-08 15:31:03 -07:00
Zhengbo Li de8ddd6e14 Return trace when exception happens 2016-06-08 14:42:53 -07:00
Mohamed Hegazy 17b5415f8c Merge pull request #8428 from Microsoft/stringLiteralCompletions
Add support for completions inside string literals
2016-06-08 14:42:48 -07:00
Mohamed Hegazy 6b8109a501 Merge pull request #8850 from Microsoft/reorderOptions
Reorder options alphabetically
2016-06-08 13:35:00 -07:00
Mohamed Hegazy d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00
Mohamed Hegazy cc5dd5bf79 Add comments 2016-06-08 13:22:15 -07:00
Vladimir Matveev 0cd40095a5 WIP 2016-06-08 13:21:59 -07:00
Yui 899f667544 Recognize relative path using in outDir property (#9025)
* Recognize relative path using in outDir property

* Add projects tests

* Add project .json files

* Update baselines
2016-06-08 13:20:47 -07:00
Mohamed Hegazy 9027da4d17 Merge branch 'master' into stringLiteralCompletions 2016-06-08 13:19:12 -07:00
Nathan Shively-Sanders 179d42323a Merge pull request #9010 from Microsoft/merge-jsdoc-of-assignment-and-function-expression
Merge JSDoc of assignments from function expressions
2016-06-08 13:03:03 -07:00
Mohamed Hegazy 7eb5f4b179 Remove comments 2016-06-08 12:49:50 -07:00
Mohamed Hegazy 97270ceb03 Merge branch 'master' into reorderOptions 2016-06-08 12:40:26 -07:00
Anders Hejlsberg 83971d0900 Create intersection types in type guards for unrelated types 2016-06-08 10:51:32 -07:00
Vladimir Matveev 82715e22a2 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-07 23:10:11 -07:00
Zhengbo Li cdf4cded15 Merge pull request #9002 from zhengbli/moreTsserverTests
Add tests for tsserver project system
2016-06-07 21:56:09 -07:00
Vladimir Matveev 697661a4be added openExternalProjects method 2016-06-07 17:45:22 -07:00
Anders Hejlsberg 6a243e3d1d Allow nested assignments in type guards 2016-06-07 17:37:03 -07:00
Vladimir Matveev 00f35d1934 added message handlers 2016-06-07 16:46:40 -07:00
Vladimir Matveev 8b7fb8e7e8 Merge pull request #8739 from evansb/fix-8738
Fix #8738: Handles Re-assignment of Exported Clause Member
2016-06-07 16:23:02 -07:00
Nathan Shively-Sanders 17cc206271 Merge JSDoc of assignments from function expressions 2016-06-07 16:22:18 -07:00
Zhengbo Li 37949a3d65 more tests for module resolution change and exclude 2016-06-07 15:52:34 -07:00
Vladimir Matveev d941177547 check if moduleResolution when verifying that program can be reused 2016-06-07 15:08:46 -07:00
Vladimir Matveev bcf58bf9e8 group members based on accessibility 2016-06-07 13:53:33 -07:00
Vladimir Matveev c84aef39d1 Merge branch 'master' into tsserverVS-WIP 2016-06-07 11:27:18 -07:00
Ron Buckton cfa4388822 Replace legacy emitter with tree transforming emitter. 2016-06-07 10:32:03 -07:00
Nathan Shively-Sanders 5fef0804c8 Merge pull request #9003 from Microsoft/caseUndefinedAndNull
Allow case comparison to undefined and null in strict null checking mode
2016-06-07 09:25:03 -07:00
Nathan Shively-Sanders 843aa6c1ef Allow case comparison to undefined and null in strict null checking mode 2016-06-07 07:51:34 -07:00
Andy 849ab7c5ec Merge pull request #8942 from Microsoft/param_trailing_commas
Allow trailing commas in function parameter and argument lists
2016-06-07 07:35:30 -07:00
Andy 53a5b422b4 Merge pull request #8994 from Microsoft/typo
Fix typo
2016-06-07 06:01:53 -07:00
zhengbli 3052913b92 add tests for tsserver project system 2016-06-07 02:14:56 -07:00
Anders Hejlsberg 52d8a78419 Merge pull request #8970 from Microsoft/propertyControlFlow
Fix control flow analysis for property initializers
2016-06-06 17:00:21 -07:00
Andy Hanson 941c863524 Fix typo 2016-06-06 13:41:35 -07:00
Andy Hanson 1fe8a08085 Respond to PR comments 2016-06-06 13:31:37 -07:00
Wesley Wigham 26b1ab499c Use inclusive flag, as originally done, but include almost everything 2016-06-06 13:05:29 -07:00
Wesley Wigham 9761c3be97 Revert "Revert "Merge pull request #7235 from weswigham/narrow-all-types""
This reverts commit fc3e040c51.
2016-06-06 12:52:34 -07:00
Andy Hanson a918730df0 factor out isJsxOrTsxExtension 2016-06-06 12:17:11 -07:00
Andy Hanson d9ec5125be Support using string values in enums for CompilerOptions in transpile methods 2016-06-06 11:31:22 -07:00
Mohamed Hegazy 447e58346b Merge pull request #8974 from plantain-00/change_type_definition_for_Object.create
change type definition for Object.create
2016-06-06 10:35:31 -07:00
Andy Hanson 543b484ec5 Remove trailing whitespace 2016-06-06 08:17:14 -07:00
Andy Hanson f832488801 Add "implicit any" warning for shorthand ambient modules 2016-06-06 08:14:49 -07:00
Andy Hanson 2fc2f5c4b9 Fix signature help 2016-06-06 07:50:32 -07:00
york yao f5ab9d7289 change type definition for Object.create 2016-06-06 07:22:37 +08:00
Mohamed Hegazy 18a875807c Remove restriction on --target es5 and --module es6 2016-06-05 15:37:20 -07:00
Anders Hejlsberg bb7818b837 Consider property declarations to be control flow containers 2016-06-04 14:42:45 -07:00
Sergey Shandar cdb0fb324f Fix findIndex documentation. 2016-06-04 03:26:17 -07:00
Vladimir Matveev 1498676df4 added delta computation 2016-06-03 18:07:28 -07:00
Anders Hejlsberg 39c4e8ad1f Remove unnecessary restrictions in property access narrowing 2016-06-03 17:30:49 -07:00