Vladimir Matveev
072e93898d
Merge pull request #5535 from Microsoft/computedPropertiesInDestructuringPR
...
allow computed properties in destructuring, treat computed properties…
2015-11-10 13:11:05 -08:00
Daniel Rosenwasser
92d37c3029
Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
...
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
2015-11-09 15:43:26 -08:00
Vladimir Matveev
5d9e7e10c0
Merge pull request #5576 from Microsoft/importsInShorthandProps
...
use modulekind to check if initializer for shorthand property assignm…
2015-11-09 14:57:47 -08:00
Daniel Rosenwasser
8a959ead4c
Removed no-default-lib comment from test case.
2015-11-09 14:34:23 -08:00
Vladimir Matveev
fe770bdd75
addressed PR feedback
2015-11-09 13:56:18 -08:00
Vladimir Matveev
6f08e89455
use modulekind to check if initializer for shorthand property assignment should be emitted
2015-11-09 13:34:30 -08:00
Wesley Wigham
14d65098c9
Merge pull request #5385 from weswigham/5378-equality-fix
...
Stop considering symbol names when checking type parameter identity
2015-11-09 13:32:43 -08:00
Wesley Wigham
cadf54334b
Merge branch 'master' into out-module-concat
2015-11-09 12:38:23 -08:00
Wesley Wigham
98e9fea6e6
Merge branch 'master' into 5378-equality-fix
2015-11-04 19:20:14 -08:00
Vladimir Matveev
db2b23da00
allow computed properties in destructuring, treat computed properties with literal expressions similar to literal named properties
2015-11-04 15:35:21 -08:00
Vladimir Matveev
652a3a4a55
do not report 'unreachable code' on empty statements
2015-11-03 22:30:27 -08:00
Wesley Wigham
6f9702112f
Merge branch 'master' into out-module-concat
2015-11-02 16:57:07 -08:00
Vladimir Matveev
fb15e9c7c0
Merge pull request #4788 from Microsoft/reachabilityChecks
...
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Martin Vseticka
1703972dd2
Preserve copyright comments when generating d.ts files
2015-11-02 17:07:16 +01:00
Wesley Wigham
6c812420ec
Merge branch 'master' into out-module-concat
2015-10-30 11:27:34 -07:00
Vladimir Matveev
3f11c0b2de
merge with master
2015-10-29 09:33:27 -07:00
Martin Všetička
1e2108854b
Add warning message empty THEN clause
2015-10-28 08:25:41 +01:00
Vladimir Matveev
d2a11b55dc
merge with master
2015-10-27 10:41:21 -07:00
Vladimir Matveev
ea054f7cbb
Merge pull request #5412 from Microsoft/classesInLoop
...
treat local classes as block scoped variables
2015-10-27 10:23:16 -07:00
Mohamed Hegazy
33d7a1fc13
Merge pull request #5397 from seanchas116/fix-nested-parameter-destructuring
...
Fix nested parameter destructuring
2015-10-27 09:46:23 -07:00
Vladimir Matveev
654befa781
treat local classes as block scoped variables
2015-10-26 22:18:04 -07:00
Ryohei Ikegami
a3f09c343b
Add compiler test
2015-10-27 11:50:43 +09:00
Vladimir Matveev
4dbd04cdeb
Merge pull request #5208 from Microsoft/capturedBlockScopedVars
...
support block scoped vars captured in closures inside loops
2015-10-26 16:58:15 -07:00
Mohamed Hegazy
ed5dc5536d
Merge pull request #5390 from maybejulian/declareOnTypeAliasInDts
...
Allow type aliases to omit 'declare' keyword in '.d.ts' files
2015-10-25 23:26:18 -07:00
Wesley Wigham
5e82f234ec
Add test of issue
2015-10-23 15:45:45 -07:00
Julian Williams
fc2dca2344
Added test.
2015-10-22 18:18:57 -04:00
Wesley Wigham
c165be8b3a
change triple-slash ref emit critaera, add a new tests and accept new baselines
2015-10-21 17:36:49 -07:00
Vladimir Matveev
f96980d388
merge with master
2015-10-21 17:13:20 -07:00
Anders Hejlsberg
a8fa81b187
Merge pull request #5344 from Microsoft/excessPropertiesWithUnion
...
Fix excess property check in union and intersection types
2015-10-20 13:05:51 -07:00
Ron Buckton
c3f36e145d
Merge pull request #5343 from Microsoft/fixES6LetInModule
...
Fixes emitExpressionIdentifier when combining --target ES6 with --module.
2015-10-20 12:51:13 -07:00
Anders Hejlsberg
a22f9b87bd
Adding test
2015-10-20 12:40:39 -07:00
Ron Buckton
c627802a43
Tests
2015-10-20 12:32:49 -07:00
Wesley Wigham
a83b85870c
Merge branch 'master' into out-module-concat
2015-10-19 17:17:08 -07:00
Vladimir Matveev
f9eaed7f7b
Merge branch 'master' into reachabilityChecks
2015-10-19 15:54:45 -07:00
Nathan Shively-Sanders
f9c40d11a9
Merge pull request #5267 from Microsoft/disallow-primitive-assignability-to-index-of-any
...
Disallow primitive assignability to indexer of type any
2015-10-19 15:48:04 -07:00
Vladimir Matveev
96a4b237ac
Merge branch 'master' into capturedBlockScopedVars
2015-10-19 14:22:25 -07:00
Vladimir Matveev
c13c8bf316
addressed PR feedback
2015-10-19 14:10:27 -07:00
John Vilk
f10c7cc154
Change ArrayBuffer.isView declaration to type guard for ArrayBufferView.
...
Also adds a test that checks that `ArrayBuffer.isView` appropriately narrows its argument to `ArrayBufferView`.
Fixes #5308 .
2015-10-18 20:05:30 -04: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
Vladimir Matveev
7b126170d1
Merge branch 'master' into reachabilityChecks
2015-10-16 13:13:51 -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
Nathan Shively-Sanders
5cd0ca19af
Add test case, correct existing test case
...
Existing: String assignment to a numeric indexer should succeed, not fail.
(The baseline was already correct but the inline comment was wrong.)
New: Boolean assignment to a numeric indexer should fail.
2015-10-15 11:04:36 -07:00
Nathan Shively-Sanders
8eacd41ab0
Add tests and accept baselines
2015-10-15 09:52:31 -07:00
Nathan Shively-Sanders
c66bbd8cea
Tests now correctly include a constructor
2015-10-14 12:43:56 -07:00
Nathan Shively-Sanders
12b7a998e9
Add test case
2015-10-14 12:23:37 -07:00
Vladimir Matveev
0465f1b0bb
revert enum related changes
2015-10-13 13:18:58 -07:00