Commit graph

11777 commits

Author SHA1 Message Date
Andy Hanson 9fa971091c Add tests for more kinds of import/export 2016-06-09 12:46:52 -07:00
Andy Hanson 75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy 512c6719ae Merge pull request #8895 from Microsoft/strip_extension
Allow an import of "foo.js" to be matched by a file "foo.ts"
2016-06-09 11:38:26 -07:00
Andy 3954e9956a Merge pull request #9056 from Microsoft/async_function_return_type
Contextually type return statement in async function
2016-06-09 11:34:46 -07:00
Andy Hanson 7a2ef428cd Contextually type return statement in async function 2016-06-09 10:55:45 -07:00
Andy 75b82938f5 Merge pull request #8988 from Microsoft/transpile_options
Support using string values in enums for CompilerOptions in transpile
2016-06-09 09:04:23 -07:00
Andy Hanson 9ef9b743d1 Fix module loading error
(commandLineOptions_stringToEnum would be undefined if optionDeclarations wasn't loaded yet)
2016-06-09 08:22:58 -07:00
Andy Hanson 0aa2fe328f Add test for out-of-range error 2016-06-09 05:59:26 -07:00
Anders Hejlsberg 9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Ron Buckton c14d711ab6 Merge pull request #9043 from Microsoft/parallelTestProgress
Adds progress indicators to the runtests-parallel build task.
2016-06-08 19:23:45 -07:00
Anders Hejlsberg b1a749895a Fix comment 2016-06-08 18:39:07 -07:00
Ron Buckton 8fc3422e7c Fixed typo 2016-06-08 18:18:26 -07:00
Ron Buckton 19baf1f38a Adds progress indicators to the runtests-parallel build task. 2016-06-08 18:09:36 -07:00
Mohamed Hegazy 82505eaa31 Merge pull request #9040 from Microsoft/addExportToArgumentListKind
Fix #9039: add export to ArgumentListKind
2016-06-08 17:50:30 -07:00
Mohamed Hegazy 6446827886 addExportToArgumentListKind 2016-06-08 16:54:24 -07:00
Anders Hejlsberg d182a59782 Fix comments in tests 2016-06-08 16:35:39 -07:00
Anders Hejlsberg b3c5c1db23 Merge pull request #9013 from Microsoft/typeGuardNestedAssignment
Allow nested assignments in type guards
2016-06-08 16:26:07 -07:00
Anders Hejlsberg aeb1d97ced Merge pull request #8949 from Microsoft/strictNullLogicalAnd
Improve typing of && operator with --strictNullChecks
2016-06-08 16:24:51 -07:00
Wesley Wigham 454ab50851 Merge pull request #9035 from weswigham/patch-6
Remove Completed TODO
2016-06-08 16:00:41 -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
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
Andy Hanson d8667ae323 Fix test helper 2016-06-08 13:14:22 -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
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