Vladimir Matveev
|
7ece82f191
|
Revert "Port union reduction to 1.7"
|
2015-12-03 16:48:27 -08:00 |
|
Anders Hejlsberg
|
ccb4326cce
|
Merge pull request #5895 from Microsoft/unionTypeParameterInference
Fix union type parameter inference
Conflicts:
src/compiler/checker.ts
|
2015-12-03 15:11:24 -08:00 |
|
Anders Hejlsberg
|
b022893fd8
|
Merge pull request #5737 from Microsoft/unionIntersectionTypeInference
Improved union/intersection type inference
Conflicts:
src/compiler/checker.ts
|
2015-12-03 15:06:46 -08:00 |
|
Vladimir Matveev
|
a7fb3e4e70
|
do not crash when variable and function declarations collide
|
2015-11-14 14:20:13 -08:00 |
|
Vladimir Matveev
|
b3ed46f0df
|
port 5662 into release-1.7
|
2015-11-13 15:08:30 -08:00 |
|
zhengbli
|
04a05b26e4
|
Cherrypicking PR 5593
|
2015-11-13 11:44:02 -08:00 |
|
Nathan Shively-Sanders
|
c5e611891b
|
Add a variable of type this in constructor body
The test already had a reference to the `this` value, but that doesn't
show that the *type* is allowed.
|
2015-11-02 11:24:51 -08:00 |
|
Nathan Shively-Sanders
|
455cccee9c
|
Add tests based on #5449
|
2015-11-02 11:24:29 -08:00 |
|
Ryohei Ikegami
|
18cf2e490f
|
Add compiler test
|
2015-10-27 09:49:51 -07:00 |
|
Ryohei Ikegami
|
60572bad94
|
Add tests for nested destructuring
|
2015-10-27 09:49:44 -07:00 |
|
Nathan Shively-Sanders
|
f75e32eef6
|
Improve mergedInheritedClassInterface test case
Covers the case when the merged interface extends an interface, but the
merged class does not extend a class, then trying to extend that class.
|
2015-10-23 14:59:42 -07:00 |
|
Nathan Shively-Sanders
|
e12afac674
|
Improve naming of test members
|
2015-10-23 14:59:29 -07:00 |
|
Nathan Shively-Sanders
|
4610cfc9f3
|
Tests for interfaces merged w/classes
Both interfaces and classes have base classes/interfaces; all members are
available on an instance of the merged child.
|
2015-10-23 14:59:20 -07:00 |
|
Nathan Shively-Sanders
|
36549572aa
|
Add tests and accept baselines
|
2015-10-23 14:56:32 -07:00 |
|
Ron Buckton
|
34cc9bfe77
|
Tests
|
2015-10-20 12:58:30 -07:00 |
|
Mohamed Hegazy
|
e98a76fb62
|
Merge pull request #5257 from Microsoft/module-merge-with-constructors
Module merge with constructors
|
2015-10-16 16:55:57 -07:00 |
|
Mohamed Hegazy
|
bb369f1423
|
Merge pull request #5290 from Microsoft/interfaceClassMergingFix
Do not report errors for classes and interfaces merging
|
2015-10-16 16:45:31 -07:00 |
|
Mohamed Hegazy
|
8b8d33d8b8
|
Fix comments
|
2015-10-16 16:29:11 -07:00 |
|
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 |
|
Mohamed Hegazy
|
35a303ac01
|
Do not report errors for classes and interfaces merging
|
2015-10-16 10:54:35 -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 |
|
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 |
|
Nathan Shively-Sanders
|
c66bbd8cea
|
Tests now correctly include a constructor
|
2015-10-14 12:43:56 -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 |
|
Nathan Shively-Sanders
|
12b7a998e9
|
Add test case
|
2015-10-14 12:23:37 -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 |
|
Ryan Cavanaugh
|
b2d666c489
|
Merge pull request #5184 from RyanCavanaugh/fix5096
Don't issue completion in JSX text
|
2015-10-13 13:27:39 -07:00 |
|
Vladimir Matveev
|
0465f1b0bb
|
revert enum related changes
|
2015-10-13 13:18:58 -07:00 |
|
Ryan Cavanaugh
|
6bbfe56dca
|
Use memberListCount
|
2015-10-13 13:16:44 -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 |
|
Mohamed Hegazy
|
e9bed76baa
|
Remove --experimentalAsyncFunctions from tests
|
2015-10-12 14:27:58 -07:00 |
|
Nathan Shively-Sanders
|
3a55c849c7
|
Assert that ambient classes merge with interfaces
Specifically, overloads are recognised as having the same export/ambient
flags when merging the two.
|
2015-10-12 14:26:45 -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 |
|
Vladimir Matveev
|
22e68de7ec
|
Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
check functions in class expressions
|
2015-10-12 11:09:21 -07:00 |
|
Yui T
|
d3e10b3d3f
|
Merge remote-tracking branch 'origin/master' into exponentiation
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/program.ts
|
2015-10-12 10:54:46 -07:00 |
|
Vladimir Matveev
|
d757e5e7a2
|
Merge pull request #5226 from Microsoft/blockScopedExports
check initialization of exported block scoped variables
|
2015-10-12 10:32:57 -07:00 |
|
Vladimir Matveev
|
ca98831674
|
addressed PR feedback: added tests for let declarations
|
2015-10-12 10:22:18 -07:00 |
|
Vladimir Matveev
|
adf9f9b8df
|
check initialization of exported block scoped variables
|
2015-10-12 09:59:41 -07:00 |
|
Vladimir Matveev
|
c35419e12e
|
add rule to insert space between async keyword and open paren
|
2015-10-11 22:19:51 -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 |
|
Paul van Brenk
|
573652160c
|
Merge pull request #5197 from Microsoft/supportIndentStyle
Support different indentation styles
|
2015-10-09 16:51:39 -07:00 |
|