Commit graph

11849 commits

Author SHA1 Message Date
Mohamed Hegazy 404650d110 Merge pull request #9026 from DickvdBrink/lkg-newlines
Force LF newlines for LKG builds/non debug builds
2016-06-08 12:12:45 -07:00
Anders Hejlsberg a57ee29ff7 Add tests 2016-06-08 11:41:44 -07:00
Anders Hejlsberg ea1bdff096 Accept new baselines 2016-06-08 11:41:34 -07:00
Nathan Shively-Sanders 1fe6626efa Remove TODO comments 2016-06-08 11:07:42 -07:00
Nathan Shively-Sanders 9832f62f48 Split commentsFunction test into expr/decl
And renumber.
2016-06-08 10:56:52 -07:00
Anders Hejlsberg 83971d0900 Create intersection types in type guards for unrelated types 2016-06-08 10:51:32 -07:00
Dick van den Brink 65bbeb1f8c Force LF newlines for LKG builds/non debug builds
Fixes 6630
2016-06-08 19:33:03 +02:00
Nathan Shively-Sanders 6bf5f115b6 Improve order of parameter's merged jsdoc 2016-06-08 08:42:38 -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
Anders Hejlsberg cdf5b7aeb3 Add tests 2016-06-07 17:37:18 -07:00
Anders Hejlsberg 6a243e3d1d Allow nested assignments in type guards 2016-06-07 17:37:03 -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 78792df4db Fix linting issues 2016-06-07 16:11:42 -07:00
Zhengbo Li 37949a3d65 more tests for module resolution change and exclude 2016-06-07 15:52:34 -07:00
Vladimir Matveev 6913c32db6 Merge pull request #9009 from Microsoft/reusing-program-missing-check
check moduleResolution when verifying that program can be reused
2016-06-07 15:36:05 -07:00
Vladimir Matveev d941177547 check if moduleResolution when verifying that program can be reused 2016-06-07 15:08:46 -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 b4f12144d2 Remove incorrectly added tests 2016-06-07 08:17:28 -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 Hanson ed48e58a38 Fix test 2016-06-07 06:10:47 -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
Nathan Shively-Sanders bfafecca0c Merge pull request #8993 from weswigham/refix-primitive-narrowing
Fix primitive narrowing
2016-06-06 15:18:09 -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
Andy 2918c18f28 Merge pull request #8992 from Microsoft/runtests-browser-spaces
Make `jake runtests-browser` support test regexes with spaces
2016-06-06 13:20:44 -07:00
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
Anders Hejlsberg 6dcd5877a0 Merge pull request #8962 from Microsoft/propertyAccessNarrowing
Fix narrowing of property access expressions
2016-06-03 18:13:55 -07:00
Anders Hejlsberg 87ee72b25a Add regression test 2016-06-03 17:31:28 -07:00