10439 Commits

Author SHA1 Message Date
Sheetal Nandi
e72414ecab Merge branch 'master' into requireAsFunctionInExternalModule 2016-10-17 16:13:51 -07:00
Sheetal Nandi
28899f3860 Update the resolveName symbol flags for 'require' resolution 2016-10-17 16:08:00 -07:00
Mohamed Hegazy
722e723392 Include the correct file by default (#11685) 2016-10-17 15:47:33 -07:00
Vladimir Matveev
039c6e5819 Merge pull request #11675 from Microsoft/vladima/fix-11665
fix flow in finally blocks
2016-10-17 15:45:39 -07:00
Vladimir Matveev
09b9ea5507 address PR feedback 2016-10-17 14:29:24 -07:00
Ryan Cavanaugh
d27088e51f Merge pull request #11640 from RyanCavanaugh/jsxTextIsToken
Jsx text is token
2016-10-17 13:20:51 -07:00
Andy Hanson
4c5a728314 Don't use ternary operator 2016-10-17 10:27:12 -07:00
Andy Hanson
8a2d16134d Remove unnecessary assert 2016-10-17 06:11:00 -07:00
Vladimir Matveev
ebba1c3d1a fix flow in finally blocks 2016-10-16 20:57:51 -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
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
Ryan Cavanaugh
eb4bb4a9e0 Fix-ups around formatting and assertions 2016-10-14 12:08:41 -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
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
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
fc641b93be Merge branch 'slawomir-10758-always-strict' 2016-10-13 16:57:06 -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
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
Kanchalai Tanglertsampan
99e2219c4e Remove unused function 2016-10-13 15:09:26 -07:00
Anders Hejlsberg
17c2ab20d4 Merge pull request #11587 from Microsoft/narrowStringAndNumber
Narrow string and number types in literal equality checks
2016-10-13 13:59:57 -07:00
Anders Hejlsberg
bf301e9ccc Treat reference to empty evolving array as an implicit any[] 2016-10-13 13:28:58 -07:00
Kanchalai Tanglertsampan
5b4dfcc18f Address PR: remove locales and options; use accent as default 2016-10-13 13:22:58 -07:00
Vladimir Matveev
9c41e42d62 fix linter issues 2016-10-13 10:29:01 -07:00
Vladimir Matveev
224582c4f3 Merge pull request #11577 from Microsoft/vladima/configure-typing-acquisition
Disable automatic type acquisition with command line option, replace npm view with request to npm registry
2016-10-13 10:22:26 -07:00
Anders Hejlsberg
1dedca73d1 Support 'unshift' and fix typo 2016-10-13 09:43:55 -07:00
Anders Hejlsberg
7dd64d3ea2 Properly narrow union types containing string and number 2016-10-13 06:29:34 -07:00
Andrej Baran
a500fd9211 Merge branch 'master' into es2017-target 2016-10-13 14:02:54 +02:00
Andrej Baran
b871b5353c Favor use of ES2015 instead of ES6 2016-10-13 13:32:00 +02:00
Andrej Baran
c5ddf27dc6 Remove constant substitution from ES2017 transformer 2016-10-13 12:04:36 +02:00
Andrej Baran
7df3fda2b3 Refactor createFunctionExpresson 2016-10-13 12:03:53 +02:00
Andrej Baran
f0fd77ae8e Make async/await an ES2017 feature only 2016-10-13 11:58:01 +02:00
Andrej Baran
e60e97f5c9 Cleanup comments 2016-10-13 01:04:38 +02:00
Daniel Rosenwasser
31a55e6452 Merge pull request #11570 from Microsoft/fixErrorMessageForUmdGlobals
Fix error message for UMD globals
2016-10-12 15:30:54 -07:00
Daniel Rosenwasser
7bbaef66ae Change error message for referencing UMD globals from a module. 2016-10-12 15:09:02 -07:00
Kanchalai Tanglertsampan
c03b04bd4f Only use localeCompare in CompareStrings 2016-10-12 14:26:30 -07:00
Vladimir Matveev
92b63fa725 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00