26430 Commits

Author SHA1 Message Date
Anders Hejlsberg
ff42c3d198 Handle readonly arrays and tuples in decorator metadata serialization 2019-01-28 16:09:55 -08:00
Anders Hejlsberg
151fac913c Merge branch 'master' into readonlyArrayTuple 2019-01-28 15:53:24 -08:00
Anders Hejlsberg
54ba2cc070 Accept new baselines 2019-01-28 15:20:41 -08:00
Anders Hejlsberg
45af34d349 Add subtype reduction complexity limit test 2019-01-28 15:20:32 -08:00
Anders Hejlsberg
d86612c6f1 Accept new baselines 2019-01-28 15:19:47 -08:00
Ron Buckton
e96310790f
Merge pull request #29619 from Microsoft/simpleGulp
Simplify gulp to just use 'tsc -b' to build, update to gulp@4
2019-01-28 15:07:19 -08:00
Anders Hejlsberg
e727845029 Higher complexity limit for unions of primitives only 2019-01-28 13:58:15 -08:00
Anders Hejlsberg
ea3814676d Error on union types that are too complex to represent 2019-01-28 13:11:04 -08:00
Daniel Rosenwasser
c899c2ee00 Bump version to 3.4. 2019-01-28 12:36:24 -08:00
Anders Hejlsberg
4335f4462c Tuples are known to be covaraint 2019-01-28 08:58:18 -08:00
Ron Buckton
47c2708a9c Simplify gulp to just use 'tsc -b' to build, update to gulp@4 2019-01-27 21:56:56 -08:00
Anders Hejlsberg
cd1f289129 Accept new baselines 2019-01-26 14:57:16 -08:00
Anders Hejlsberg
e290559057 Add tests for decorators and declaration emit from error free source 2019-01-26 14:57:02 -08:00
Anders Hejlsberg
4706a060a5 Merge branch 'master' into readonlyArrayTuple 2019-01-26 14:44:15 -08:00
Sheetal Nandi
fa74cef81e
Merge pull request #29591 from Microsoft/removeUnnecessaryDeclarations
Do not generate dts files for tsc/tsserver and such when we do not use it at all.
2019-01-25 15:51:13 -08:00
Wesley Wigham
4da9d8bc87
Include index signatures of the source in mapped type template target inferences (#29253) 2019-01-25 15:22:35 -08:00
Wesley Wigham
5f782bf58a
Fixup restrictive instantiations to actually erase type parameter constraints (#29592) 2019-01-25 15:18:07 -08:00
Sheetal Nandi
e51a2fe80d Skip declaration emit for files that are just executables 2019-01-25 14:24:35 -08:00
Ron Buckton
bd8c6259b9
Merge pull request #29422 from Microsoft/fix29006
Fix crash in getTextOfPropertyName
2019-01-25 14:08:35 -08:00
Ryan Cavanaugh
ebf90871c6
Merge pull request #29584 from yacaovsnc/master
Remove extra http str in badge url
2019-01-25 13:28:14 -08:00
Ron Buckton
df709a2c61
Merge pull request #29583 from Microsoft/gulpTsserver
Add tsserver task to gulp
2019-01-25 10:59:45 -08:00
Wesley Wigham
74d41b926a
Fix crash in watch-local 2019-01-25 10:55:24 -08:00
Ron Buckton
f51939326a Add tsserver task to gulp 2019-01-25 10:52:00 -08:00
Yang Cao
b3f8736316
Remove extra http str in badge url 2019-01-25 13:48:32 -05:00
Wesley Wigham
d16cf761ba
Move random file in root into test folder (#29575) 2019-01-24 17:33:12 -08:00
Sheetal Nandi
45899ad3d9
Merge pull request #29569 from Microsoft/inputFiles
Make getters for js, sourcemap, dts and dts map text for prepend nodes so as to avoid unnecessary multiple file reads
2019-01-24 17:02:40 -08:00
Ron Buckton
469ab3fdd0 Merge branch 'master' into fix29006 2019-01-24 16:50:50 -08:00
Sheetal Nandi
1b12a855e8 Merge branch 'master' into inputFiles 2019-01-24 15:44:45 -08:00
Wesley Wigham
0ddcab3469
Fix master: handle generating type name for late bound dupe message more nicely (#29572)
* Fix master: handle generating type name for late bound dupe message more nicely

* Make literal type casts more specific in many places to better reflect the checks performed
2019-01-24 15:37:13 -08:00
Sheetal Nandi
ec817f55f3 Fix unnecessary union 2019-01-24 15:27:39 -08:00
Ryan Cavanaugh
c779fc7998
Merge pull request #28034 from disisisid/master
Typo fix in src/lib/README.md
2019-01-24 14:45:31 -08:00
Ryan Cavanaugh
04cb422abf
Merge pull request #28124 from sanket0896/patch-1
Fixed typos in spec.md
2019-01-24 14:44:05 -08:00
Ryan Cavanaugh
61b07e7bc5
Merge pull request #28181 from superkd37/patch-1
Update .mailmap
2019-01-24 14:40:55 -08:00
Ryan Cavanaugh
66e44eef71
Merge pull request #27991 from manishbansal8843/gulpfile-correction-for-word2mdconversion
Correcting the order of passing arguments to word2mdJs for the task generating spec.md
2019-01-24 14:38:32 -08:00
Ryan Cavanaugh
1a742e6f27
Merge pull request #27918 from collin5/b27914
Improve error message for duplicate property with computed name
2019-01-24 14:35:51 -08:00
Sheetal Nandi
399f987918 Add todos for sourcemap that accidently got reverted. 2019-01-24 13:54:45 -08:00
Ryan Cavanaugh
3249e0f4ad
Merge pull request #27480 from AjayPoshak/make-contrib-easy
Add points to guideline to make contributions easier
2019-01-24 13:50:16 -08:00
Sheetal Nandi
216ed1b385 Get dts content from sourceFile if present 2019-01-24 13:47:27 -08:00
Ryan Cavanaugh
d85c4e551e
Merge pull request #27121 from xl1/26977-typedarray
Allow non-number source for TypedArray.from
2019-01-24 13:42:43 -08:00
Sheetal Nandi
50d98aee0e Create getters for js sourcemap, dts and dts map text getters in prepend nodes 2019-01-24 13:38:25 -08:00
Ryan Cavanaugh
95eec999e8
Tweaks 2019-01-24 13:31:44 -08:00
Ryan Cavanaugh
16b6706ee1
Merge pull request #29463 from jack-williams/check-in-expression-with-union
Fix #29457
2019-01-24 13:07:22 -08:00
Wesley Wigham
fdeb8f01df
Fix typo in runner selection in gulp 2019-01-24 12:58:46 -08:00
Sheetal Nandi
9acff37947 Add test to test the readFile called on prepend input file for emitting and verifying emit 2019-01-24 12:17:45 -08:00
Sheetal Nandi
61b95fea5a
Merge pull request #29555 from petebacondarwin/external-skip-trivia-fix
Use the correct source when skipping trivia
2019-01-24 12:09:10 -08:00
Anders Hejlsberg
71d70ef161
Merge pull request #29563 from Microsoft/fixSwitchControlFlow
Fix switch statement control flow logic
2019-01-24 10:36:52 -08:00
Ryan Cavanaugh
d782a546a5
Merge pull request #29556 from fuafa/trailing-comma
fix trailing comma should not allowed in dynamic import argument
2019-01-24 10:20:26 -08:00
Anders Hejlsberg
936ee9b921 Accept new baselines 2019-01-24 10:12:43 -08:00
Anders Hejlsberg
500c4729e9 Add additional repro 2019-01-24 10:12:35 -08:00
Anders Hejlsberg
48cad7788d Accept new baselines 2019-01-24 09:30:54 -08:00