Commit graph

11985 commits

Author SHA1 Message Date
Anders Hejlsberg
ce156460eb Narrow type in case/default sections in switch on discriminant property 2016-06-13 14:29:04 -07:00
Ryan Cavanaugh
b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Andy Hanson
7d31bcf87b Add option to bail out of jake runtests when one test fails 2016-06-13 13:35:37 -07:00
Nathan Shively-Sanders
ac9e617e5e Test isDefinition 2016-06-13 13:23:32 -07:00
Nathan Shively-Sanders
5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Andy Hanson
c0c707c37f Fix decorator metadata emit for rest arg with no type 2016-06-13 13:16:13 -07:00
Ron Buckton
3dca09b200 Fixes runtests-parallel not reporting failure for failed tests. 2016-06-13 12:58:21 -07:00
Andy Hanson
89488f8317 Add test for jsdoc in navigation bar 2016-06-13 12:08:31 -07:00
Nathan Shively-Sanders
8b093128b3 Merge pull request #9036 from Microsoft/primitive-type-guards-are-order-independent
Primitive type guards are order independent
2016-06-13 10:52:06 -07:00
Mohamed Hegazy
6f63799151 Merge pull request #9129 from plantain-00/minor_fix_add_missing_return_clause
minor fix: add missing return clause
2016-06-13 10:21:17 -07:00
Ryan Cavanaugh
6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh
e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Yui
fb050f17f6 Use camel-case instead of snake-case (#9134) 2016-06-13 09:23:37 -07:00
york yao
61534225e5 minor fix: add missing return clause 2016-06-13 18:48:39 +08:00
Mohamed Hegazy
e86f1837d0 Fix #9098: report missing function impelementation errors for merged classes and namespaces 2016-06-11 13:12:08 -07:00
Yui
81d1ccfe87 Only inlineSourceMap when debugging through jake-browser (#9080)
* Only inlineSourceMap when debugging through jake-browser

* Address PR: fix typo in opt's property
2016-06-10 18:22:20 -07:00
Anders Hejlsberg
4a8f94a553 Type guards using discriminant properties of string literal types 2016-06-10 16:17:32 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Wesley Wigham
8d83cd167f Remove trailing whitespace 2016-06-10 15:26:14 -07:00
Nathan Shively-Sanders
ccd4552b9a Merge pull request #9089 from Microsoft/recommend-runtests-parallel-in-CONTRIBUTING
Recommend runtests-parallel in CONTRIBUTING
2016-06-10 14:54:22 -07:00
Wesley Wigham
d20459607b
Remove single-comma empty array form 2016-06-10 14:35:13 -07:00
Wesley Wigham
a3a1c49739
Allow empty lists on command line 2016-06-10 14:14:32 -07:00
Nathan Shively-Sanders
b027b4f423 Recommend runtests-parallel in CONTRIBUTING 2016-06-10 14:13:56 -07:00
Nathan Shively-Sanders
4a9b1209ae Test adding members to JS variables whose initialisers are functions 2016-06-10 14:11:31 -07:00
Nathan Shively-Sanders
642583771d Salsa: get members of variables whose initialisers are functions 2016-06-10 14:10:30 -07:00
Vladimir Matveev
72d64e1ccf Merge pull request #9084 from Microsoft/fixBaselines
fix test baselines
2016-06-10 11:35:14 -07:00
Vladimir Matveev
5ae0602a63 fix baselines 2016-06-10 11:20:59 -07:00
tinza123
85ac67f4ee check the declaration and use order if both are not in module file 2016-06-10 11:07:01 -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
71b7d44d58 Merge pull request #8945 from Microsoft/shorthand_ambient_module
Support shorthand ambient module declarations
2016-06-10 10:09:57 -07:00
Andy Hanson
077dfff93b Add tests 2016-06-10 08:03:41 -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
zhengbli
1e7790df06 Fix #8523 2016-06-10 03:44:44 -07:00
zhengbli
e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
Mohamed Hegazy
e6eb36ee71 Update LKG 2016-06-10 01:06:00 -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
zhengbli
4383f1a15f Refactoring 2016-06-09 16:28:42 -07: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
Nathan Shively-Sanders
86a6959e2a Merge branch 'master' into primitive-type-guards-are-order-independent 2016-06-09 15:56:34 -07:00
Mohamed Hegazy
f0a430aef8 Code review comments 2016-06-09 15:52:17 -07:00
Nathan Shively-Sanders
a1e4b31d16 Allow null/undefined guard with null/undefined on left
Also add a test with baselines.
2016-06-09 15:48:35 -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
zhengbli
d387050aaa Fix merging issues and multiple project scenario 2016-06-09 15:30:55 -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