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
Julian Williams
5613ba860f
accepted baselines
2015-10-24 13:43:11 -04:00
Nathan Shively-Sanders
c4e54685c6
Merge pull request #5384 from Microsoft/fix-union-of-variadic-functions
...
Fix union of variadic functions
2015-10-23 14:54:13 -07:00
Nathan Shively-Sanders
d26a4c8a87
Merge pull request #5359 from Microsoft/merge-inherits-interface-members
...
Merge inherits interface members
2015-10-23 14:51:13 -07:00
Nathan Shively-Sanders
7a1004371b
Add tests and accept baselines
2015-10-23 13:33:55 -07:00
Nathan Shively-Sanders
fe19ccf7d7
Merge pull request #5368 from Microsoft/convert-diagnostic-text-to-es2015
...
Convert diagnostic text to es2015
2015-10-23 12:47:26 -07:00
Julian Williams
c30ac53c66
Accepted baselines.
2015-10-22 20:44:50 -04:00
Julian Williams
fc2dca2344
Added test.
2015-10-22 18:18:57 -04:00
Wesley Wigham
58d20ae2e3
accept new baselines
2015-10-22 14:36:09 -07:00
Nathan Shively-Sanders
f99227b330
Accept baselines
2015-10-22 13:28:54 -07:00
Nathan Shively-Sanders
1651f1809c
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-22 11:32:26 -07:00
Nathan Shively-Sanders
ae6ebe1550
Accept new baselines
2015-10-21 19:55:04 -07:00
Vladimir Matveev
0834a29b15
pick default chrome location based on platform
2015-10-21 17:04:18 -07:00
Nathan Shively-Sanders
4d05189d8d
Improve naming of test members
2015-10-21 16:23:59 -07:00
Nathan Shively-Sanders
7f989315da
Accept baselines
...
A couple of tests were previously updated to give an incorrect error
message.
2015-10-21 16:12:15 -07:00
Nathan Shively-Sanders
36ddd022a1
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-21 16:10:46 -07:00
Vladimir Matveev
912e49b668
do not indent token if its start line matches end line of previous token\trivia
2015-10-21 12:49:14 -07:00
Ryan Cavanaugh
853e9a2462
Merge pull request #5295 from RyanCavanaugh/detectAdjacentJsxElements
...
Better error recovery for adjacent JSX elements in expression positions
2015-10-20 13:16:02 -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
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
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
Ryan Cavanaugh
6ccb2a5ef2
Better error recovery for adjacent JSX elements in expression positions
...
Fixes #5286
2015-10-16 13:47:57 -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
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