Yui
c98103b1fb
Merge pull request #10928 from Microsoft/addTestFix10625
...
[Release-2.0] Add tests and baselines
2016-09-14 16:31:27 -07:00
Ryan Cavanaugh
d37391fcfc
Allow type and NS references to UMD globals from modules
...
Fixes #10638
2016-09-14 16:11:23 -07:00
Yui T
48e51b5361
Add tests and baselines
2016-09-14 15:42:53 -07:00
Yui T
ced8cf8670
Add tests and update baselines
2016-09-14 11:55:13 -07:00
Nathan Shively-Sanders
046a37da63
Update baselines for updated enum assignability
2016-09-13 13:10:23 -07:00
Nathan Shively-Sanders
eb933f9567
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-13 13:00:40 -07:00
Nathan Shively-Sanders
bf3941da47
Test that enum literal is assignable to an enum in a union
2016-09-13 13:00:27 -07:00
Nathan Shively-Sanders
495ea0d497
Test that number is assignable to enum in a union
2016-09-13 13:00:09 -07:00
Anders Hejlsberg
81c69b2a58
Add regression test
2016-09-13 08:55:38 -07:00
Anders Hejlsberg
9986f81981
Add regression test
2016-09-12 11:28:37 -07:00
Anders Hejlsberg
f4c621bb8e
Add regression tests
2016-09-09 11:19:59 -07:00
Anders Hejlsberg
9adc26c3fd
Add repro from #10697
2016-09-06 10:15:50 -07:00
Andy Hanson
12ad9d0aaf
Search for node_modules in parent directories when getting type roots.
2016-09-02 13:42:43 -07:00
Nathan Shively-Sanders
0041d5ce79
Merge pull request #10538 from Microsoft/find-declarations-of-js-module-export
...
Fix crash when checking module exports for export=
2016-08-25 16:14:13 -07:00
Nathan Shively-Sanders
6ee749f8b3
Get rid of absolute paths
2016-08-25 11:02:26 -07:00
Nathan Shively-Sanders
751b0a65de
Clean up maxNodeModuleJsDepth test
2016-08-25 10:25:17 -07:00
Nathan Shively-Sanders
c0309fa78e
Fix crash when checking module exports for export=
...
Also make maxNodeModuleJsDepth default to 0 so that incorrect tsconfigs
now let the compiler spend less time compiling JS that is found in
node_modules (especially since most people will already have the d.ts
and want ignore the JS anyway). jsconfig still defaults to 2.
2016-08-25 09:21:31 -07:00
Nathan Shively-Sanders
ddb5a00410
Merge pull request #10446 from YuichiNukiyama/fix10351
...
Add error message
2016-08-23 09:34:20 -07:00
Nathan Shively-Sanders
93de502656
Merge pull request #10486 from Microsoft/allowSyntheticDefaultImports-resolves-to-module
...
allowSyntheticDefaultImports resolves to modules instead of variables
2016-08-22 16:50:55 -07:00
Nathan Shively-Sanders
f028fa3f52
Merge pull request #9746 from Microsoft/instantiate-this-for-contextually-typed-type-parameters
...
Instantiate this for contextually typed type parameters
2016-08-22 16:47:13 -07:00
Yui
36130ffa64
Fix 10472: Invalid emitted code for await expression ( #10483 )
...
* Properly emit await expression with yield expression
* Add tests and update baselines
* Move parsing await expression into parse unary-expression
* Update incorrect comment
2016-08-22 16:37:04 -07:00
Nathan Shively-Sanders
046b55e9f1
allowSyntheticDefaultImports resolves to modules instead of variables
...
Fixes #10429 by improving the fix in #10096
2016-08-22 16:27:44 -07:00
Mohamed Hegazy
d133b0e550
Merge pull request #10407 from zhengbli/fixJsDocSyntacticClassification
...
Return non-JsDocComment children for syntactic classification
2016-08-22 16:06:48 -07:00
Nathan Shively-Sanders
a0137597f9
Merge pull request #10399 from Microsoft/jsdoc-never-undefined-null-types
...
JSDoc supports null, undefined and never types
2016-08-22 13:48:37 -07:00
Andy Hanson
92eb8df68c
Allow "typings" in a package.json to be missing its extension (but also allow it to have an extension)
2016-08-22 13:03:49 -07:00
Nathan Shively-Sanders
2c814f4413
Add jsdoc nullable union test case to fourslash
2016-08-22 10:08:57 -07:00
zhengbli
e445e012c4
Add test for jsdoc syntactic classification for function declaration
2016-08-20 20:41:33 -07:00
zhengbli
eeec775da0
Add more test for 10426
2016-08-20 19:12:11 -07:00
Yuichi Nukiyama
0c01874b31
follow advise
2016-08-20 21:24:46 +09:00
Yuichi Nukiyama
806e142cbf
Add error message
...
Add error message when trying to relate primitives to the boxed/apparent
backing types.
2016-08-20 12:36:57 +09:00
Zhengbo Li
d8ab098195
Merge pull request #10426 from zhengbli/9518
...
Treat special property access symbol differently when retriving documentation
2016-08-19 17:09:25 -07:00
Wesley Wigham
0168ab2051
Check return code paths on getters ( #10102 )
...
* Check return paths on getters
* Remove TODO comment
2016-08-19 13:34:06 -07:00
Andy
d2d5d42359
Merge pull request #9646 from Microsoft/no_ts_extension
...
Don't allow `.ts` to appear in an import
2016-08-19 06:49:33 -07:00
Andy Hanson
b482fa58f4
Merge branch 'master' into cast_of_await
2016-08-19 06:16:57 -07:00
Andy Hanson
b452469419
Fix tests
2016-08-19 06:14:28 -07:00
Andy Hanson
297cb50cbf
Merge branch 'master' into no_ts_extension
2016-08-19 06:11:46 -07:00
zhengbli
03dcdda443
Treat special property access symbol differently
...
... when retriving documentation
2016-08-18 17:12:40 -07:00
Mohamed Hegazy
a621c09606
Merge pull request #8241 from Microsoft/noImplicitAnyDestructuring
...
Do not report errors of implicit any during contexual type checking of binding pattern element
2016-08-18 16:18:52 -07:00
Daniel Rosenwasser
6facbf1e90
Merge pull request #10403 from Microsoft/completionsForNullableObjects
...
Fix completions for nullable objects
2016-08-18 14:00:30 -07:00
Andy Hanson
2e572201fd
Add more tests for export = foo.bar.
2016-08-18 07:38:20 -07:00
Daniel Rosenwasser
111b7c55f8
Added test.
2016-08-17 20:30:15 -07:00
Nathan Shively-Sanders
aa834d7f17
JSDoc supports null, undefined and never types
2016-08-17 15:49:57 -07:00
Mohamed Hegazy
5843bbbd76
Merge branch 'noErrorTruncation' of https://github.com/gcnew/TypeScript into gcnew-noErrorTruncation
...
# Conflicts:
# src/compiler/diagnosticMessages.json
2016-08-17 14:22:01 -07:00
Nathan Shively-Sanders
0f483d6546
Assign and instantiate contextual this type if not present
2016-08-17 14:21:49 -07:00
Anders Hejlsberg
4880e7ea9e
Merge pull request #10396 from Microsoft/fixNestedLoopTypeGuards
...
Fix nested loop type guards
2016-08-17 14:05:02 -07:00
Mohamed Hegazy
ef2d6ab014
Merge pull request #10342 from Microsoft/ambient_shorthand_is_explicit_any
...
Treat ambient shorthand declarations as explicit uses of the `any` type
2016-08-17 13:33:13 -07:00
Anders Hejlsberg
b93cdecdf5
Add regression test
2016-08-17 13:30:13 -07:00
Nathan Shively-Sanders
271ffc84a5
Merge branch 'master' into instantiate-this-for-contextually-typed-type-parameters
2016-08-17 11:03:26 -07:00
Nathan Shively-Sanders
9769718a38
Merge pull request #10123 from Microsoft/allow-js-multiple-declaration-of-constructor-properties
...
Allow JS multiple declarations of ctor properties
2016-08-17 10:58:50 -07:00
Nathan Shively-Sanders
c218d37191
Merge pull request #9995 from Microsoft/jsdoc-string-literal-types
...
JSDoc string literal types
2016-08-17 10:25:58 -07:00