Commit Graph

23471 Commits

Author SHA1 Message Date
Anders Hejlsberg 6425f0ccfd Fix lint error 2016-10-16 17:37:37 -07:00
Anders Hejlsberg 808db07ce4 Accept new baselines 2016-10-16 17:31:57 -07:00
Anders Hejlsberg 8094b2c5de Improve contextual typing of partially annotated signatures 2016-10-16 17:28:45 -07:00
Ron Buckton f025e0caed Minor cleanup 2016-10-16 15:19:02 -07:00
about-code 9122f62431 Merge remote-tracking branch 'upstream/master' 2016-10-17 00:02:44 +02:00
Ron Buckton e97368bb3f Adds ES5 to ES3 transformer for reserved words 2016-10-16 14:41:47 -07:00
about-code 8a37a162b2 Fix for issue #442 2016-10-16 18:43:55 +02:00
about-code fc5b2e524d Fix for issue #442 2016-10-16 18:34:57 +02:00
Ron Buckton 65b1cf665e Merge pull request #11653 from Microsoft/fix11295
Fix emit issue regarding null/undefined in type annotations
2016-10-15 18:22:00 -07:00
Ron Buckton db76a9ca07 More tests 2016-10-15 17:29:03 -07:00
Ron Buckton a4a7c237b3 Fix issues from merge 2016-10-15 15:18:32 -07:00
Ron Buckton 7f6faaa884 Merge branch 'master' into fix11295 2016-10-15 14:34:04 -07:00
Ron Buckton 63160de21e Merge pull request #11407 from andrejbaran/es2017-target
Add ES2017 target
2016-10-15 01:57:45 -07:00
Vladimir Matveev ce6ae0e494 Merge pull request #11632 from Microsoft/vladima/port-11605
Ports PR #11605 into master
2016-10-14 23:39:37 -07:00
Andrej Baran 17d60d5d8f Merged master into es2017-target 2016-10-15 08:31:22 +02:00
Ron Buckton 40e99e7f66 Updated comment 2016-10-14 21:34:59 -07:00
Zhengbo Li a1cbfcae4b Add missing trigger file (#11641)
* Add missing trigger file property for config file diags

* Add test
2016-10-14 20:50:12 -07:00
Ron Buckton 980a894787 Fix emit issue regarding null/undefined in type annotations 2016-10-14 18:10:34 -07:00
Ron Buckton 5475f3a7c2 Merge pull request #11609 from Microsoft/consolidateImportElision
Consolidate Import/Export Elision
2016-10-14 18:02:42 -07:00
Anders Hejlsberg b5d1e4c4c4 Merge pull request #11432 from Microsoft/controlFlowArrays
Control flow analysis for array construction
2016-10-14 16:28:35 -07:00
Andrej Baran 7352e97121 Cleanup ES2017 async tests 2016-10-15 01:16:11 +02:00
Jason Ramsay a69fc67986 Restrict IsGlobalCompletion to:
- SourceFile
- Template Expression
- Statements
2016-10-14 16:04:51 -07:00
Ryan Cavanaugh eb4bb4a9e0 Fix-ups around formatting and assertions 2016-10-14 12:08:41 -07:00
Andy cfbfe328b6 Merge pull request #11599 from Microsoft/update_issue_template
Update issue template
2016-10-14 12:00:45 -07:00
Ryan Cavanaugh 4304eab654 JSX Text belongs with its other token friends 2016-10-14 11:12:47 -07:00
Yui cd04aa9995 Merge pull request #11541 from Microsoft/master_11339
[Master] Fix 11339; using localeCompare cause exception in window 2012 dueto Intl
2016-10-14 09:36:41 -07:00
Nathan Shively-Sanders b6819dc939 Merge branch 'master' into object-spread 2016-10-14 09:32:57 -07:00
Nathan Shively-Sanders 83d6abcd9e Update baselines
There are more literal types in error messages because error reporting
no longer has the advantage of calls to getBaseLiteralType
2016-10-14 08:59:00 -07:00
Nathan Shively-Sanders 0168f67f63 Push eitherIsNotLiteral check into isTypeEqualityComparableTo
Since all callers need this check -- it's how equality is supposed to
work everywhere.
2016-10-14 08:55:01 -07:00
Vladimir Matveev 6417dab60b Merge pull request #11605 from Microsoft/vladima/convert-enums-to-const
convert all enums to const enums when building protocol.d.ts
2016-10-14 08:12:02 -07:00
Vladimir Matveev a09f00bb11 Merge pull request #11593 from Microsoft/vladima/port-11577
ports PR #11577 into master
2016-10-14 08:11:09 -07:00
Vladimir Matveev 1d82193af8 Merge pull request #11608 from Microsoft/vladima/port-11594
Ports #11594 into master
2016-10-14 08:10:46 -07:00
Anders Hejlsberg c876d92b79 Merge branch 'master' into controlFlowArrays
# Conflicts:
#	src/compiler/checker.ts
2016-10-14 07:48:18 -07:00
Andrej Baran 86784a5eef Get rid of ES6 completely 2016-10-14 10:54:54 +02:00
Ron Buckton c4300e017f Adds ES5 to ES3 transformer for reserved words 2016-10-13 17:53:44 -07:00
Mohamed Hegazy cdafc9dca1 Update LKG 2016-10-13 17:29:03 -07:00
Mohamed Hegazy 2cd404038e Port fix in https://github.com/Microsoft/TypeScript/pull/11293 to correct file 2016-10-13 17:26:12 -07:00
Mohamed Hegazy 97d40ab432 Update LKG 2016-10-13 17:08:58 -07:00
Mohamed Hegazy fc641b93be Merge branch 'slawomir-10758-always-strict' 2016-10-13 16:57:06 -07:00
Mohamed Hegazy 80ef348623 Add buildProtocol.js 2016-10-13 16:56:59 -07:00
Mohamed Hegazy 2920f82804 Add error reporting for using --noImplicitUseStrict with --options.alwaysStrict 2016-10-13 16:54:09 -07:00
Vladimir Matveev dd26822cc0 Merge pull request #11594 from Microsoft/vladima/fix-11590
return result from SetCompilerOptionsForInferredProject request
2016-10-13 16:48:44 -07:00
Nathan Shively-Sanders 982abc2944 Add switch comparability test and update baselines 2016-10-13 16:29:35 -07:00
Paul van Brenk bf3e487d28 Merge branch 'master' into interfaceFixes 2016-10-13 16:29:27 -07:00
Nathan Shively-Sanders 00ebf59b50 Use same literal comparison rules for switch/===
switch was missing the rule for converting literal types to the literal
base type if needed.
2016-10-13 16:26:44 -07:00
falsandtru 7060f51fb2 Fix the Function interface (#11269) (#11293) 2016-10-13 16:24:05 -07:00
Michael e9242b1681 fix typo in type definition (#11346) 2016-10-13 16:23:14 -07:00
Mohamed Hegazy 418a251237 Merge branch '10758-always-strict' of https://github.com/slawomir/TypeScript into slawomir-10758-always-strict 2016-10-13 16:17:06 -07:00
Sheetal Nandi 6b5a53cae1 Merge pull request #11458 from Microsoft/narrowedConst
Narrowed consts flow through object literal or class expression method
2016-10-13 16:16:27 -07:00
Zhengbo Li a6443e3e5a Avoid watching non-existing directories and fix null-exception (#11601)
* Avoid watching non-existing directories and fix null-exception

* Add test

* Move the fix to sys to cover tsc -w also
2016-10-13 15:39:09 -07:00