Commit Graph

3762 Commits

Author SHA1 Message Date
Ryan Cavanaugh
14774d6438 Merge pull request #9305 from RyanCavanaugh/fix9293
Properly detect circular constructor-declared `this` properties (JS)
2016-06-23 10:30:07 -07:00
Nathan Shively-Sanders
3f6010cd9f Merge pull request #9298 from OrangeShark/new-rest-param-error
New rest parameter properties error message
2016-06-23 08:33:05 -07:00
Nathan Shively-Sanders
9134ed3b7d Merge pull request #9303 from Microsoft/signatures-use-jsdoc-for-minArgumentCount
Signatures use JSDoc to determine optionality
2016-06-22 15:04:14 -07:00
Erik Edrosa
be662e1f6e Change test comment and accept baseline 2016-06-22 13:20:58 -04:00
Ron Buckton
12bfb7e987 Merge pull request #9204 from Microsoft/promiseAndAsyncUpdates
Update Promise and PromiseLike, fix async functions issues with never.
2016-06-21 18:09:28 -07:00
Erik Edrosa
6a4400a988 Accept binding pattern properties error baselines 2016-06-21 19:08:15 -04:00
Erik Edrosa
65bd8e5b6c Accept rest parameter properties error baselines 2016-06-21 19:06:26 -04:00
Ryan Cavanaugh
c4f8fb2bc2 Remove stale baselines 2016-06-21 15:40:38 -07:00
Ryan Cavanaugh
0e3ffb5fbe Don't crash when JS class property is self-referential.
Fixes #9293
2016-06-21 15:40:26 -07:00
Nathan Shively-Sanders
553d727148 Signatures use JSDoc to determine optionality 2016-06-21 13:01:26 -07:00
Mohamed Hegazy
8b5616d297 Merge pull request #9176 from Microsoft/Fix9173-2
Clear out unused compiler options when transpiling
2016-06-20 09:54:58 -07:00
Mohamed Hegazy
5697d21a58 Accept webworker baselines 2016-06-20 00:19:42 -07:00
Mohamed Hegazy
dfed7625af Add libcheck tests 2016-06-18 12:40:22 -07:00
Mohamed Hegazy
2b4378daa3 Merge pull request #9180 from HerringtonDarkholme/interface
[Fix #9004] Improve error message for extending interface
2016-06-17 15:29:26 -07:00
Mohamed Hegazy
11bb6c08b9 Merge branch 'master' into Fix9173-2 2016-06-17 15:21:43 -07:00
Anders Hejlsberg
c7dec0ea68 Merge pull request #9163 from Microsoft/typeGuardDiscriminants
Discriminated union types
2016-06-17 14:37:35 -07:00
Herrington Darkholme
2a9636b1be address code style 2016-06-17 11:31:56 +08:00
Herrington Darkholme
877977a450 add new tests for extends interface 2016-06-17 11:07:18 +08:00
Yui
0e6f8eb2bc Using baselines for transpile unittests (#9195)
* Conver to Transpile unittest to use baselines instead

* Add baselines

* Fix linting error
2016-06-16 10:50:01 -07:00
Ron Buckton
fb9806b5f9 Updates type definitions for Promise and PromiseLike, fixes issues in async functions due to introduction of never type.
Fixes #9193.
2016-06-15 17:36:27 -07:00
Zhengbo Li
7bb739fa40 Merge pull request #9083 from zhengbli/i6853
Check use before declaration if both the use and decalration are not in module file
2016-06-15 12:43:30 -07:00
Daniel Rosenwasser
9a2cf115c0 Merge pull request #9170 from Microsoft/emptyTupleAssertions
Correctly check types in type assertions
2016-06-15 12:35:04 -07:00
Andy
a1e0504ed4 Merge pull request #9189 from Microsoft/js_property_declaration
Allow property declarations in .js files
2016-06-15 12:20:41 -07:00
Mohamed Hegazy
97be083d99 Merge pull request #9100 from Microsoft/Fix9098
Fix #9098: report missing function implementation errors for merged …
2016-06-15 11:53:31 -07:00
Andy Hanson
9b6472aec0 Remove old test 2016-06-15 11:00:27 -07:00
Anders Hejlsberg
c9e5bcb276 Accept new baselines 2016-06-15 09:35:45 -07:00
Herrington Darkholme
85434c59fc accept baselines 2016-06-15 20:55:50 +08:00
Daniel Rosenwasser
74a784c8be Accepted baselines. 2016-06-14 22:38:35 -07:00
Daniel Rosenwasser
f786c5c187 Accepted baselines. 2016-06-14 19:03:00 -07:00
Daniel Rosenwasser
82b385f331 Accepted baselines. 2016-06-14 15:15:42 -07:00
Anders Hejlsberg
a3635ccd8b Merge branch 'master' into typeGuardDiscriminants
# Conflicts:
#	src/compiler/binder.ts
#	src/compiler/checker.ts
2016-06-14 13:08:17 -07:00
Daniel Rosenwasser
0a1c4c60da Accepted baselines. 2016-06-14 11:36:14 -07:00
Daniel Rosenwasser
8917ddf8a1 Merge pull request #9151 from Microsoft/commonjsShorthands
Fix emit for shorthand properties when they refer to CommonJS exports.
2016-06-14 10:32:20 -07:00
Anders Hejlsberg
5ff7c29d40 Add tests 2016-06-14 09:33:56 -07:00
Andy Hanson
f6cee27af9 Emit 'Promise' decorator metadata return type for async methods 2016-06-14 06:11:00 -07:00
Andy
b92a8f2b53 Merge pull request #9144 from Microsoft/decorator_metadata_rest_parameter
Fix decorator metadata emit for rest arg with no type
2016-06-14 05:43:24 -07:00
Daniel Rosenwasser
e8a7e0c0d4 Accepted baselines. 2016-06-13 23:34:00 -07:00
Daniel Rosenwasser
d54094c6f7 Accepted baselines. 2016-06-13 23:33:36 -07:00
Ryan Cavanaugh
f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Ryan Cavanaugh
b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Andy Hanson
c0c707c37f Fix decorator metadata emit for rest arg with no type 2016-06-13 13:16:13 -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
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
Mohamed Hegazy
e86f1837d0 Fix #9098: report missing function impelementation errors for merged classes and namespaces 2016-06-11 13:12:08 -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
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