Commit Graph

12444 Commits

Author SHA1 Message Date
Andy Hanson f6cee27af9 Emit 'Promise' decorator metadata return type for async methods 2016-06-14 06:11:00 -07:00
Andy b92a8f2b53 Merge pull request #9144 from Microsoft/decorator_metadata_rest_parameter
Fix decorator metadata emit for rest arg with no type
2016-06-14 05:43:24 -07:00
Wesley Wigham 9d023a83fe Merge pull request #9090 from weswigham/allow-empty-lists-command-line
Allow empty lists on command line
2016-06-14 00:29:15 -07:00
Daniel Rosenwasser eae289c7b7 Emit 'exports.' if the shorthand is a general export. 2016-06-13 23:33:47 -07:00
Vladimir Matveev bd646d1142 enable document highlighting" 2016-06-13 16:56:26 -07:00
Ryan Cavanaugh f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Anders Hejlsberg c90b0fe17d No implicit returns following exhaustive switch statements 2016-06-13 16:20:13 -07:00
Vladimir Matveev 70aacef818 added gotodef 2016-06-13 16:18:16 -07:00
Vladimir Matveev 23c6fac592 added sighelp 2016-06-13 15:02:54 -07:00
Ryan Cavanaugh 29f5291453 Refactor 2016-06-13 14:37:07 -07:00
Anders Hejlsberg ce156460eb Narrow type in case/default sections in switch on discriminant property 2016-06-13 14:29:04 -07:00
Ryan Cavanaugh b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Vladimir Matveev 7b53afa0bf [WIP] completions 2016-06-13 13:49:29 -07:00
Nathan Shively-Sanders ac9e617e5e Test isDefinition 2016-06-13 13:23:32 -07:00
Nathan Shively-Sanders 5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Ron Buckton 27931d5f75 Cleanup, fix linter errors, follow hoisted declarations. 2016-06-13 13:17:56 -07:00
Andy Hanson c0c707c37f Fix decorator metadata emit for rest arg with no type 2016-06-13 13:16:13 -07:00
Ron Buckton 0948f73f2a Cleanup, only support generators for async functions, added emit helper. 2016-06-13 12:39:55 -07:00
Ron Buckton e85d3e6c66 Merge branch 'transforms' into transforms-generators 2016-06-13 11:10:26 -07:00
Vladimir Matveev 9a1790e996 added logging to stderr, add command for full quickinfo 2016-06-13 10:54:45 -07:00
Nathan Shively-Sanders 8b093128b3 Merge pull request #9036 from Microsoft/primitive-type-guards-are-order-independent
Primitive type guards are order independent
2016-06-13 10:52:06 -07:00
Mohamed Hegazy 6f63799151 Merge pull request #9129 from plantain-00/minor_fix_add_missing_return_clause
minor fix: add missing return clause
2016-06-13 10:21:17 -07:00
Ryan Cavanaugh 6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Yui fb050f17f6 Use camel-case instead of snake-case (#9134) 2016-06-13 09:23:37 -07:00
york yao 61534225e5 minor fix: add missing return clause 2016-06-13 18:48:39 +08:00
Mohamed Hegazy e86f1837d0 Fix #9098: report missing function impelementation errors for merged classes and namespaces 2016-06-11 13:12:08 -07:00
Ron Buckton 569f057635 Formatting. 2016-06-11 00:28:12 -07:00
Ron Buckton f6f1a0dca1 Adds support for importing external helpers. 2016-06-11 00:12:04 -07:00
Vladimir Matveev c14398317a WIP - quickinfo 2016-06-10 16:56:15 -07:00
Anders Hejlsberg 4a8f94a553 Type guards using discriminant properties of string literal types 2016-06-10 16:17:32 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Vladimir Matveev 81905cd29e fix version related issues 2016-06-10 15:38:11 -07:00
Vladimir Matveev 8bed8f3eb5 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-10 14:56:27 -07:00
Wesley Wigham d20459607b Remove single-comma empty array form 2016-06-10 14:35:13 -07:00
Wesley Wigham a3a1c49739 Allow empty lists on command line 2016-06-10 14:14:32 -07:00
Nathan Shively-Sanders 642583771d Salsa: get members of variables whose initialisers are functions 2016-06-10 14:10:30 -07:00
tinza123 85ac67f4ee check the declaration and use order if both are not in module file 2016-06-10 11:07:01 -07:00
Mohamed Hegazy 97d7aa5fb5 Merge pull request #9042 from Microsoft/ES6ModulesES5Target
Fix #6319: Add support for `--t: es5` and  `--m es6`
2016-06-10 10:23:39 -07:00
Andy Hanson d973f4d701 Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:08:16 -07:00
Andy Hanson ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -07:00
zhengbli 1e7790df06 Fix #8523 2016-06-10 03:44:44 -07:00
zhengbli e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
Jonathan Toland 6923cba29a Update more diagnostic messages ES6->2015
Fix #8996 CC @mhegazy.
2016-06-09 18:06:35 -10:00
zhengbli 4383f1a15f Refactoring 2016-06-09 16:28:42 -07:00
Nathan Shively-Sanders 2b46656b4a Merge pull request #9061 from Microsoft/fix-this-resolution-in-parameter-initializers
Fix this resolution in parameter initializers
2016-06-09 16:20:45 -07:00
Nathan Shively-Sanders 86a6959e2a Merge branch 'master' into primitive-type-guards-are-order-independent 2016-06-09 15:56:34 -07:00
Nathan Shively-Sanders a1e4b31d16 Allow null/undefined guard with null/undefined on left
Also add a test with baselines.
2016-06-09 15:48:35 -07:00
Sheetal Nandi a4991b9e98 Merge pull request #9057 from Microsoft/sourceRootWithInlineSources
Allow --sourceRoot with --inlineSources option
2016-06-09 15:38:21 -07:00