Commit Graph

19046 Commits

Author SHA1 Message Date
Andy Hanson 693cb9c6ca Add additional tests 2016-06-06 13:20:32 -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 704f9874e0 Move to a conformance test 2016-06-06 12:28:36 -07:00
Andy cd1b9f07b5 Merge pull request #8989 from Microsoft/jakefile_whitespace
Remove trailing whitespace in jakefile
2016-06-06 12:19:29 -07:00
Andy Hanson a918730df0 factor out isJsxOrTsxExtension 2016-06-06 12:17:11 -07:00
Andy Hanson f215ac94c2 Add another test 2016-06-06 12:02:31 -07:00
Andy Hanson 52138e0078 Make jake runtests-browser support test regexes with spaces
For example: `jake runtests-browser t="transpile .js files"` now works.
2016-06-06 11:48:08 -07:00
Andy Hanson e05e11200b Remove trailing whitespace in jakefile 2016-06-06 11:37:59 -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 13ddc34607 Merge pull request #8979 from Microsoft/trailing_whitespace
Remove trailing whitespace
2016-06-06 08:47:43 -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 3b1effb7df Adding regression test 2016-06-04 14:50:37 -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
Anders Hejlsberg 6dcd5877a0 Merge pull request #8962 from Microsoft/propertyAccessNarrowing
Fix narrowing of property access expressions
2016-06-03 18:13:55 -07:00
Vladimir Matveev 1498676df4 added delta computation 2016-06-03 18:07:28 -07:00
Anders Hejlsberg 87ee72b25a Add regression test 2016-06-03 17:31:28 -07:00
Anders Hejlsberg a5e9071a2f Fix fourslash test 2016-06-03 17:31:16 -07:00
Anders Hejlsberg 39c4e8ad1f Remove unnecessary restrictions in property access narrowing 2016-06-03 17:30:49 -07:00
Vladimir Matveev 04916c8683 renames, introduce projectKind 2016-06-03 15:18:48 -07:00
Ron Buckton 877e3c4815 Merge pull request #8929 from Microsoft/transforms-extractFromPrinter
[Transforms] Extract transformFiles call from printFile
2016-06-03 11:52:52 -07:00
Ron Buckton ef436a189f PR Feedback 2016-06-03 11:50:35 -07:00
Yui f619282af1 [Transforms] Update transforms with recent master (#8960)
* Remove check narrowing only certain types, add test showing issues with this

* string literal case test

* Reconcile fix with CFA work

* Defaultable -> NotNarrowable to align with use

* Missed a defaultable in comments

* Add test for narrowing to unions of string literals

* Actually merge from master

* Run fixupParentReferences when parsing isolated jsDocComment

* initial revision of unit test support for project system in tsserver

* Add non-widening forms of null and undefined

* Create separate control flows for property declarations with initializers

* Add regression test

* Add tests

* Remove unused variable

* Add null check and CR feedback

* Revert "Merge pull request #7235 from weswigham/narrow-all-types"

This reverts commit ef0f6c8fe4, reversing
changes made to 9f087cb62a.

* reuse the fixupParentReferences function

* Fix up error from merging with master
2016-06-03 11:02:35 -07:00
Andy 3aaa4ea833 Merge pull request #8957 from Microsoft/navbar_indent
Include indent in navigation bar protocol
2016-06-03 10:57:29 -07:00
Andy baebf2b690 Merge pull request #8959 from Microsoft/stringify
Use a function `stringify` to simplify calls to `JSON.stringify(xyz, undefined, 2)`
2016-06-03 10:41:50 -07:00
Andy Hanson e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Andy Hanson 2bed32d308 Fix mistake 2016-06-03 09:42:16 -07:00
Andy Hanson 8b0974a77e Update tests 2016-06-03 09:29:21 -07:00
Andy Hanson c8ced6703a Use a function stringify to simplify calls to JSON.stringify(xyz, undefined, 2) 2016-06-03 08:43:48 -07:00
Andy Hanson ed6bfcdb08 Add merging tests 2016-06-03 06:45:00 -07:00
Andy Hanson 1541ebe781 Respond to PR comments 2016-06-03 06:34:33 -07:00
Andy Hanson 094f97e366 Respond to PR comments 2016-06-03 06:22:34 -07:00
Vladimir Matveev 23bbbf9819 added close method 2016-06-03 00:06:30 -07:00
Vladimir Matveev 2605fdf276 move root file to a map, release documents on project close 2016-06-02 18:11:22 -07:00
Anders Hejlsberg 13698a9952 Add test 2016-06-02 17:37:25 -07:00
Anders Hejlsberg bcc9220451 Improve typing of && operator with --strictNullChecks 2016-06-02 17:37:14 -07:00
Vladimir Matveev 8e6f36258e Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-02 16:14:34 -07:00
Vladimir Matveev 0b7227dce6 remove project options from project 2016-06-02 16:14:26 -07:00
Anders Hejlsberg 3853555b49 Merge pull request #8944 from Microsoft/reviseWidening
No widening in strict null checking mode
2016-06-02 15:18:33 -07:00
Zhengbo Li 131f759c5c Merge pull request #8930 from zhengbli/i8676
Run fixupParentReferences when parsing isolated jsDocComment
2016-06-02 14:15:14 -07:00
Ron Buckton 47ae027d47 Merge branch 'transforms' into transforms-extractFromPrinter 2016-06-02 14:06:40 -07:00
Ron Buckton e9dadd7707 Merge pull request #8927 from Microsoft/transforms-removeExcludeFlags
[Transforms] Removes the excludeTransformFlags property from Node
2016-06-02 14:06:03 -07:00
Nathan Shively-Sanders 24f15a4ec9 Merge pull request #8946 from Microsoft/revert-narrow-all-types
Revert "Merge pull request #7235 from weswigham/narrow-all-types"
2016-06-02 13:46:06 -07:00
zhengbli e2a1a78dd3 reuse the fixupParentReferences function 2016-06-02 13:26:15 -07:00