Yui
02547fe664
Merge pull request #10766 from Microsoft/fix10741_emitCommentOnlyOnce
...
Fix 10741: Only emit comment only once in module declaration with identifier pat…
2016-09-16 16:30:40 -07:00
Kanchalai Tanglertsampan
58976ffd38
Merge branch 'master' into emitTypeAliasInDeclarationFile
2016-09-16 14:29:54 -07:00
Yui
fcdc07ef12
Merge pull request #10760 from Microsoft/fix10731_commentDecoratedClass
...
Fix10731: Correctly emit comment for decorated class declaration
2016-09-16 09:28:48 -07:00
Yui
2ac86d7a64
Merge pull request #10767 from Microsoft/fix10739_commentEnumDeclaration
...
Fix 10739: Only emit comment once for export enum declaration
2016-09-16 09:28:02 -07:00
Kanchalai Tanglertsampan
a4864d086e
Add tests
2016-09-16 09:15:46 -07:00
Kanchalai Tanglertsampan
f26921b43a
Make declaration emit test name consistent
2016-09-15 08:59:14 -07:00
Anders Hejlsberg
bbf80a733c
Merge pull request #10920 from Microsoft/fixLiteralUnionInference
...
Fix literal union type inference
2016-09-14 17:48:17 -07:00
Andy
42515c717d
Merge pull request #10510 from Microsoft/import_directory
...
An import ending in "/" is always an import of a directory.
2016-09-14 14:07:11 -07:00
Ron Buckton
3e1da93d6e
Merge pull request #10448 from Microsoft/improvePromiseType
...
Improve Promise type definition
2016-09-14 11:58:25 -07:00
Anders Hejlsberg
032cd32a81
Add regression test
2016-09-14 11:16:37 -07:00
Ryan Cavanaugh
a399e8dc6d
Fix merge conflict
2016-09-14 09:51:56 -07:00
Mohamed Hegazy
94ddbb580b
Merge branch 'change_unexposed_error_message' of https://github.com/YuichiNukiyama/TypeScript into YuichiNukiyama-change_unexposed_error_message
2016-09-13 20:59:15 -07:00
Ryan Cavanaugh
537fee191c
Resolve diagnostics conflict
2016-09-13 15:13:24 -07:00
Ron Buckton
02334d8523
Merge pull request #10890 from Microsoft/fix10889
...
Fix captured block scope variables in downlevel async.
2016-09-13 14:31:34 -07:00
Mohamed Hegazy
e6479334e1
Merge pull request #10333 from jwbay/better-type-as-value-error
...
Add clearer error message when types are used as values
2016-09-13 14:15:48 -07:00
Mohamed Hegazy
a612d586c6
Merge pull request #10582 from oijazsh/TS2339
...
Show an elaboration when accessing a non-existent property of a union type
2016-09-13 13:57:14 -07:00
Ryan Cavanaugh
ced5f62eb1
Merge branch 'master' into disallowBadCommas
2016-09-13 11:43:59 -07:00
Ron Buckton
7e33955fe7
Merge pull request #10883 from Microsoft/fix10876
...
Fix missing final label
2016-09-13 10:10:57 -07:00
Nathan Shively-Sanders
95210acf03
Merge pull request #10784 from Microsoft/enum-number-assignability-in-unions
...
Number and enum literal are assignable to enums, even inside unions
2016-09-13 09:30:16 -07:00
Andy Hanson
48c67cbdb5
Merge branch 'master' into import_directory
2016-09-13 08:46:49 -07:00
rbuckton
24b802e513
Fix captured block scope variables in downlevel async.
...
Fixes #10889
2016-09-12 20:58:41 -07:00
rbuckton
899ce32b08
Added test for scenario.
2016-09-12 20:28:38 -07:00
Anders Hejlsberg
9812ab5666
Merge pull request #10870 from Microsoft/fixNarrowingWithAny
...
Fix equality narrowing with any
2016-09-12 18:01:57 -07:00
Ryan Cavanaugh
5b3c272dbb
Disallow left comma operator operands which don't have side effects
2016-09-12 14:45:42 -07:00
rbuckton
c7bb95bb29
Fix missing asteriskToken for target=es6/module=amd.
...
Fixes #10857 .
2016-09-12 14:22:25 -07:00
Nathan Shively-Sanders
5cf99e605a
Update baselines for updated enum assignability
2016-09-12 14:13:17 -07:00
Mohamed Hegazy
208b341733
Merge branch 'master' into fixNarrowingWithAny
2016-09-12 14:07:34 -07:00
Anders Hejlsberg
1973cf8fc7
Add regression test
2016-09-12 12:41:39 -07:00
Nathan Shively-Sanders
0f1618106c
Merge branch 'master' into enum-number-assignability-in-unions
2016-09-12 10:12:26 -07:00
Nathan Shively-Sanders
e90f5e063e
More tests of enum assignability
...
1. Numeric literal <-> enum literal assignability
2. Computed enum <-> union enum assignability
3. Also rebaseline error reporting of existing enum cases.
2016-09-12 10:05:48 -07:00
Anders Hejlsberg
fbebbcaa7e
Add regression test
2016-09-10 07:20:05 -07:00
Ryan Cavanaugh
ab0a788fc8
Disallow comma operator when LHS is pure
2016-09-09 16:24:43 -07:00
Anders Hejlsberg
7ffc705ecd
Add regression tests
2016-09-09 10:05:49 -07:00
Ron Buckton
c048f7cd6f
Fix deferred export of array binding pattern
2016-09-08 17:46:24 -07:00
Nathan Shively-Sanders
570433e5a0
Test that enum literal is assignable to an enum in a union
2016-09-08 14:43:17 -07:00
Nathan Shively-Sanders
1cd0093b72
Test that number is assignable to enum in a union
2016-09-08 11:21:40 -07:00
Kanchalai Tanglertsampan
9d63c5a35e
Only emit comment once for export enum declaration
2016-09-07 18:02:45 -07:00
Kanchalai Tanglertsampan
a49ce91e00
Only emit comment only once in module declaration with identifier path name
2016-09-07 16:59:22 -07:00
Fabian Cook
98ac4e4c51
Allow -Infinity as an enum property name
2016-09-08 09:21:34 +12:00
Yui T
7d91ac808b
Add tests and baselines
2016-09-07 13:55:02 -07:00
Fabian Cook
088da9ea9d
Allow Infinity and NaN to be used as an Enum property identifier
2016-09-08 01:53:53 +12:00
Kanchalai Tanglertsampan
e1be0bcd4c
Merge branch 'master' into mergeMaster_09/01
2016-09-06 11:26:21 -07:00
Andy Hanson
0e8e5ec3e5
Search up for all node_modules directories available
2016-09-02 07:07:43 -07:00
Kanchalai Tanglertsampan
b5f4c074d6
Merge branch 'master' into mergeMaster_09/01
2016-09-01 16:19:44 -07:00
Yui
f8d6e26d4d
Add tests and Update baselines ( #10616 )
...
Update tests and baselines
Update tests and baselines
Update tests for downlevel emit
Add tests and update baselines
Add tests and baselines
Update baselines
Update baselines
2016-09-01 13:57:52 -07:00
Andy Hanson
22ba111e66
Search for node_modules in parent directories when getting type roots.
2016-09-01 09:25:20 -07:00
Yui
0b95731184
Fix 10408 : Better error message for set/get with noImplicitAny error ( #10597 )
...
* Giving more explicit error message when there is no-implicit-any on get/set accessor
* Update error message number
* Add new test and baselines
* Address PR: assert that getter must existed
* Address PR: undo renumbering of error messages
2016-08-30 16:07:36 -07:00
Andy Hanson
f0a532dac9
Improve tests
2016-08-30 07:45:51 -07:00
Omer Sheikh
f825b9c0f3
Add additional tests to unionPropertyExistence
2016-08-29 09:48:17 +05:00
Omer Sheikh
fe570ba764
Do not elaborate on primitive type unions
2016-08-29 09:34:46 +05:00