3829 Commits

Author SHA1 Message Date
Yui
f503169f8c Merge pull request #5472 from MartyIX/issue-5183
Fix copyright comments are not preserved when generating d.ts files
2015-11-02 11:21:47 -08:00
Nathan Shively-Sanders
cc64210519 Merge pull request #5474 from Microsoft/forbid-this-as-constructor-parameter-type
Forbid this as constructor parameter type
2015-11-02 11:04:36 -08:00
Nathan Shively-Sanders
67b9647069 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 10:47:56 -08:00
Martin Vseticka
1703972dd2 Preserve copyright comments when generating d.ts files 2015-11-02 17:07:16 +01:00
Daniel Rosenwasser
d5dd69b7b6 Accepted baselines. 2015-10-30 17:10:14 -07:00
Daniel Rosenwasser
982926a4c4 Moved test. 2015-10-30 16:59:31 -07:00
Daniel Rosenwasser
6a277d981a Accepted baselines. 2015-10-30 15:59:27 -07:00
Daniel Rosenwasser
f36b6ab8f9 Accepted baselines. 2015-10-30 15:30:59 -07:00
Daniel Rosenwasser
c3c9e513a8 Added failing test. 2015-10-30 15:30:32 -07:00
Nathan Shively-Sanders
84b894769e Accept baselines 2015-10-30 14:19:11 -07:00
Nathan Shively-Sanders
e609047b78 Add tests based on #5449 2015-10-30 14:02:07 -07:00
Nathan Shively-Sanders
1b0bc8a496 Accept baselines 2015-10-30 09:21:23 -07:00
Wesley Wigham
d3b95d2e23 Merge pull request #5422 from weswigham/const-enum-deprocdessing
Const enum deconst'ing
2015-10-28 17:01:39 -07:00
Mohamed Hegazy
8e732c9b95 Merge pull request #5375 from MartyIX/issue-5109
Add warning message empty THEN clause
2015-10-28 14:19:51 -07:00
Martin Všetička
1e2108854b Add warning message empty THEN clause 2015-10-28 08:25:41 +01:00
Ron Buckton
96504fa604 Use resolvedSymbol instead of mergedSymbol.
Fixes #5333.
2015-10-28 00:09:50 -07:00
Wesley Wigham
b0764582ce accept api test baslines 2015-10-27 16:24:19 -07:00
Vladimir Matveev
e811fecda6 Merge pull request #5275 from Microsoft/fixCasingAndPathFormat
use absolute path as key to store files, correctly handle scenarios w…
2015-10-27 14:02:35 -07:00
Vladimir Matveev
f5d4aa7d9c addressed PR feedback (change command line flag description), added tests 2015-10-27 13:27:51 -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
e64831b2b8 Accept baseline 2015-10-27 11:59:48 +09: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
Ryohei Ikegami
f7f9bd1d24 Add tests for nested destructuring 2015-10-25 13:13:38 +09: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
Vladimir Matveev
96a4b237ac Merge branch 'master' into capturedBlockScopedVars 2015-10-19 14:22:25 -07:00