Nathan Shively-Sanders
a8aa48e73f
Merge pull request #5230 from Microsoft/ambient-class-merges-overloads-with-interface
...
Ambient class merges overloads with interface
2015-10-16 15:08:59 -07:00
Ron Buckton
81e784c01e
Fixed linter error
2015-10-16 14:36:36 -07:00
Ron Buckton
798ffa763d
Switched switch statement to if branches.
...
Fixes #5229 .
2015-10-16 12:36:51 -07:00
Nathan Shively-Sanders
53188d9cb8
Add ES2015 as a synonym to ES6
...
In ModuleKind, ScriptTarget and associated command line arguments.
2015-10-15 11:35:52 -07:00
zhengbli
b7c93c012f
Address CR from 5127
2015-10-14 17:50:29 -07:00
Zhengbo Li
8864b06cbf
Merge pull request #5127 from zhengbli/newAddDirectoryWatcher
...
Add directory watcher for tsserver and tsc
2015-10-14 17:43:10 -07:00
zhengbli
fcfc25eeb0
Fix lint errors
2015-10-14 16:57:08 -07:00
zhengbli
6013968b1f
Address build errors
2015-10-14 16:25:27 -07:00
zhengbli
002f0c066b
CR feedback
2015-10-14 15:10:05 -07:00
Mohamed Hegazy
21e30e0f59
Merge pull request #5235 from Microsoft/fixDecoratorDiagostics
...
Fix exception in compiler when type checking decorators with generics.
2015-10-14 12:29:08 -07:00
Vladimir Matveev
124447763b
Merge pull request #5233 from Microsoft/relaxedUseBeforeDef
...
allow forward references to block scoped variables from functions
2015-10-13 14:19:01 -07:00
Mohamed Hegazy
99d448a167
Merge pull request #5231 from Microsoft/removeExperimentalAsyncFunctions
...
Remove experimental async functions
2015-10-13 14:17:36 -07:00
Vladimir Matveev
0465f1b0bb
revert enum related changes
2015-10-13 13:18:58 -07:00
Vladimir Matveev
48b24343b1
use isBlockScopedNameDeclaredBeforeUse for block scoped variables and enums
2015-10-13 00:07:36 -07:00
Ron Buckton
0fa89ad99c
Fixes #5104 .
2015-10-12 17:38:55 -07:00
Vladimir Matveev
eb3b91cf1b
addressed PR feedback
2015-10-12 17:24:39 -07:00
Yui
77eaf04386
Merge pull request #4914 from Microsoft/exponentiation
...
[ES7] Exponentiation
2015-10-12 16:37:45 -07:00
Vladimir Matveev
f952873ef1
allow forward references to block scoped variables from functions
2015-10-12 16:18:37 -07:00
Vladimir Matveev
c8ba16644b
Merge pull request #4911 from Microsoft/liftDtsOnlyRestriction
...
extend the list of extensions for module file names in node_modules f…
2015-10-12 14:48:47 -07:00
Nathan Shively-Sanders
92c2d48465
Lint: remove trailing whitespace
2015-10-12 14:37:10 -07:00
Yui T
90258794a6
Address PR feedback
2015-10-12 14:32:48 -07:00
Mohamed Hegazy
92f1b48cc8
Remove --experimentalAsyncFunctions
2015-10-12 14:27:33 -07:00
Nathan Shively-Sanders
d6ae55708d
Do not mark class members as ambient or export.
...
Even members of ambient classes. These flags have no useful semantics
there, and it prevents ambient classes from merging properly with
interfaces.
2015-10-12 14:25:39 -07:00
Nathan Shively-Sanders
8a051343ff
Merge pull request #5169 from Microsoft/fix-simple-uses-of-polymorphic-this-in-services
...
Fix simple uses of polymorphic this in services
2015-10-12 13:54:50 -07:00
Vladimir Matveev
4ccf630f63
merge with master
2015-10-12 13:45:06 -07:00
Ryan Cavanaugh
c05297cfea
Merge pull request #5178 from RyanCavanaugh/fix5132
...
Escape quotes when emitting React
2015-10-12 11:56:46 -07:00
Yui T
e405ccebec
fix linter failure
2015-10-12 11:48:38 -07:00
Vladimir Matveev
22e68de7ec
Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
...
check functions in class expressions
2015-10-12 11:09:21 -07:00
Vladimir Matveev
adf9f9b8df
check initialization of exported block scoped variables
2015-10-12 09:59:41 -07:00
Vladimir Matveev
a0683276d1
check functions in class expressions
2015-10-11 21:57:17 -07:00
Vladimir Matveev
1b5dc0d7d1
Merge pull request #5121 from Microsoft/shorthandPropsInDestructuring
...
parse/check/emit shorthand property assignment in destructuring
2015-10-10 22:39:05 -07:00
Martin Vseticka
69ff6f5090
Add "A module cannot have multiple default exports." message for multiple "default" exports
2015-10-09 21:37:54 +02:00
Vladimir Matveev
a556209b7e
addressed PR feedback
2015-10-09 09:55:25 -07:00
Nathan Shively-Sanders
f19a2f54ed
Fixup comments
2015-10-09 09:02:42 -07:00
jbondc
3d6398162e
Typo
2015-10-09 11:16:36 -04:00
Yui T
d57ee1db79
Merge branch 'master' into errorsuperbeforethis
...
Conflicts:
src/compiler/checker.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/types.ts
2015-10-08 23:57:26 -07:00
Yui T
1fc11aa18f
Address PR feedback, add comment
2015-10-08 23:25:05 -07:00
Yui T
5e921c1d8d
Address PR feedback, remove scriptTarget ES7
2015-10-08 17:12:22 -07:00
Yui T
af5dc3e3b3
Address PR feedback. Always emit parentheses around emit capturing
2015-10-08 16:59:49 -07:00
Mohamed Hegazy
350bb1f315
Merge pull request #5167 from jbondc/const-indexed-access
...
Const enum indexed access
2015-10-08 15:39:14 -07:00
Yui T
cd3f711a76
Address PR feedback
2015-10-08 14:38:58 -07:00
Ryan Cavanaugh
d229ae4be5
Escape quotes when emitting React
2015-10-08 11:28:18 -07:00
Anders Hejlsberg
533c4eb0c2
Emit export assignments when target is ES6 and module kind is not ES6
2015-10-08 10:18:14 -07:00
Nathan Shively-Sanders
10f9fa6da6
Fix lint: remove trailing whitespace on empty line
2015-10-08 09:30:08 -07:00
Nathan Shively-Sanders
2fb6eabc2e
Fix this.member completion+quickinfo of overloads
...
1. Completion after `this.` was empty.
2. Quick info of methods with overloads always chose the first overload,
regardless of whether an argument whose type matched a different overload.
Both have the same cause: the type parameter introduced by
polymorphic `this` is not usable, whereas the original is. In both cases,
the usage is simple -- it doesn't take advantage of the capabilities of
polymorphic `this`.
2015-10-08 08:11:33 -07:00
jbondc
82eb992dc4
Accept baselines.
2015-10-08 08:21:28 -04:00
jbondc
8960f523ea
Resolve const enum value in index access.
2015-10-08 07:57:35 -04:00
Yui T
75de6d4530
Add comment
2015-10-07 18:44:20 -07:00
Yui T
3b8cdb684b
Address comment to increment emitCount in separate line
2015-10-07 15:26:09 -07:00
Yui T
37db03ae6a
Address feedback on diagnostic message
2015-10-07 14:50:58 -07:00