Commit graph

11795 commits

Author SHA1 Message Date
zhengbli
1e7790df06 Fix #8523 2016-06-10 03:44:44 -07:00
Mohamed Hegazy
6687f2c05e Merge pull request #9065 from AppShipIt/8996-es6-diagnostic-messages
Update more diagnostic messages ES6->2015
2016-06-10 00:19:13 -07:00
Ron Buckton
a1e41350f6 Merge pull request #9066 from Microsoft/fixRuntestsParallel
Fixes issue with runtests-parallel
2016-06-09 23:59:09 -07:00
Ron Buckton
5af8ba8bf8 Fixes an issue with runtests-parallel when global mocha is not installed. 2016-06-09 22:07:07 -07:00
Jonathan Toland
6923cba29a Update more diagnostic messages ES6->2015
Fix #8996 CC @mhegazy.
2016-06-09 18:06:35 -10:00
Nathan Shively-Sanders
2b46656b4a Merge pull request #9061 from Microsoft/fix-this-resolution-in-parameter-initializers
Fix this resolution in parameter initializers
2016-06-09 16:20:45 -07:00
Sheetal Nandi
a4991b9e98 Merge pull request #9057 from Microsoft/sourceRootWithInlineSources
Allow --sourceRoot with --inlineSources option
2016-06-09 15:38:21 -07:00
Nathan Shively-Sanders
e307295fb9 Resolve function-this in parameter initialisers when explicitly provided 2016-06-09 15:20:51 -07:00
Yui
574a64dec9 Fix7334 Disallow async in functionExpression and ArrowFunction (#9062)
* Error when using async modifier in function-expression and arrow-function when target es5

* Add tests and baselines
2016-06-09 15:01:08 -07:00
Wesley Wigham
d0f669e956 Merge pull request #9059 from Microsoft/remove-tsservicesinbrowser
Fix sourcemaps for debugging tests in browser
2016-06-09 13:57:10 -07:00
Andy
9ffd00d6ff Merge pull request #8939 from Microsoft/pattern_ambient_modules
Allow wildcard ("*") patterns in ambient module declarations
2016-06-09 13:08:02 -07:00
Andy
302cea85ec Merge pull request #9054 from Microsoft/quick_info_meaning
Use proper method of not resolving alias
2016-06-09 12:37:05 -07:00
Nathan Shively-Sanders
0c64b0c24e this in parameter initializers resolves to class
Accept baselines now that the test passes.
2016-06-09 12:30:28 -07:00
Sheetal Nandi
b521fd55a4 Allow --sourceRoot with --inlineSources option
Fixes #8445
2016-06-09 11:51:53 -07:00
Wesley Wigham
88be1ac1c3
Fix sourcemaps for debugging tests 2016-06-09 11:47:41 -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
559b49baa9 Improve tests 2016-06-09 11:33:53 -07:00
Andy Hanson
03371c0e6f Improve perf 2016-06-09 11:12:12 -07:00
Andy Hanson
5e72b8a098 Undo change 2016-06-09 10:58:38 -07:00
Andy Hanson
7a2ef428cd Contextually type return statement in async function 2016-06-09 10:55:45 -07:00
Andy Hanson
3ab1e27317 Update tests 2016-06-09 09:20:15 -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
b08fe6f4f6 Use proper method of not resolving alias 2016-06-09 08:00:21 -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
Nathan Shively-Sanders
9fac99e692 Add test case
The test passes in 1.8 and fails in master.
2016-06-08 14:23:42 -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