3711 Commits

Author SHA1 Message Date
Vladimir Matveev
5ae0602a63 fix baselines 2016-06-10 11:20:59 -07:00
Mohamed Hegazy
97d7aa5fb5 Merge pull request #9042 from Microsoft/ES6ModulesES5Target
Fix #6319: Add support for `--t: es5` and  `--m es6`
2016-06-10 10:23:39 -07:00
Andy Hanson
d973f4d701 Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:08:16 -07:00
Andy Hanson
ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -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
Mohamed Hegazy
f0a430aef8 Code review comments 2016-06-09 15:52:17 -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
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 Hanson
a88366d338 Merge branch 'master' into shorthand_ambient_module 2016-06-09 12:52:15 -07:00
Andy Hanson
9fa971091c Add tests for more kinds of import/export 2016-06-09 12:46:52 -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
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 Hanson
559b49baa9 Improve tests 2016-06-09 11:33:53 -07:00
Mohamed Hegazy
3492542ebb Remove stale files 2016-06-09 10:58:03 -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
Anders Hejlsberg
9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Anders Hejlsberg
b1a749895a Fix comment 2016-06-08 18:39:07 -07:00
Mohamed Hegazy
475c1c24fc Add more tests 2016-06-08 17:48:37 -07:00
Mohamed Hegazy
f42d8b88d5 Accept baseline 2016-06-08 17:29:45 -07:00
Mohamed Hegazy
33137f68c5 Add more tests for target=es5 module=es6 2016-06-08 16:46:55 -07:00
Mohamed Hegazy
8360bc7961 Add handleing for classes 2016-06-08 16:43:56 -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
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -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
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
Anders Hejlsberg
cdf5b7aeb3 Add tests 2016-06-07 17:37:18 -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
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
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
693cb9c6ca Add additional tests 2016-06-06 13:20:32 -07:00
Wesley Wigham
9761c3be97
Revert "Revert "Merge pull request #7235 from weswigham/narrow-all-types""
This reverts commit fc3e040c5167868ed623612e8f33fb3beedf73b1.
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 Hanson
f215ac94c2 Add another test 2016-06-06 12:02:31 -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
Mohamed Hegazy
18a875807c Remove restriction on --target es5 and --module es6 2016-06-05 15:37:20 -07:00