Commit Graph

2850 Commits

Author SHA1 Message Date
Wesley Wigham
97d170b388 Support to tests for absolute paths, add common src dir edgecase tests 2015-11-10 13:10:44 -08:00
Daniel Rosenwasser
9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -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
Daniel Rosenwasser
38090c6ba5 Added tests for template strings with string literal types. 2015-11-09 12:48:58 -08:00
Wesley Wigham
cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Wesley Wigham
e75286121f Merge branch 'master' into 5378-equality-fix 2015-11-09 11:56:31 -08:00
Mohamed Hegazy
c3df2890fc Merge pull request #5092 from tinganho/instanceOfElseClause
Instance of else clause
2015-11-07 12:20:36 -08:00
Daniel Rosenwasser
f939ff23ce Fixed unreachable code in tests. 2015-11-06 14:25:32 -08:00
Daniel Rosenwasser
bb232f739d Merge remote-tracking branch 'origin/master' into stringLiteralTypes 2015-11-06 13:06:43 -08:00
Anders Hejlsberg
a234497004 Updating existing test 2015-11-06 08:55:26 -08:00
Anders Hejlsberg
870e96e525 Adding test 2015-11-06 08:55:08 -08:00
Anders Hejlsberg
9b4956fa11 Merge pull request #5459 from Microsoft/partialSignatureMatching
Fix union type partial signature matching
2015-11-05 16:46:52 -08:00
Wesley Wigham
98e9fea6e6 Merge branch 'master' into 5378-equality-fix 2015-11-04 19:20:14 -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
Mohamed Hegazy
3e631449a1 Merge pull request #5450 from sarod/allow-comments-tsconfig
Allow comments in tsconfig.json
2015-11-02 11:46:44 -08:00
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
Sébastien Arod
638e4b758a Use regex for repacing comments content.
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod
00b389d477 New commit using TS scanner.
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00
Daniel Rosenwasser
982926a4c4 Moved test. 2015-10-30 16:59:31 -07:00
Daniel Rosenwasser
c3c9e513a8 Added failing test. 2015-10-30 15:30:32 -07:00
Nathan Shively-Sanders
e609047b78 Add tests based on #5449 2015-10-30 14:02:07 -07:00
Wesley Wigham
6c812420ec Merge branch 'master' into out-module-concat 2015-10-30 11:27:34 -07:00
Anders Hejlsberg
a27ed01516 Adding test 2015-10-29 14:53:28 -07:00
Vladimir Matveev
3f11c0b2de merge with master 2015-10-29 09:33:27 -07:00
Sébastien Arod
f5e73ab8bf Fix handling of escaped characters in string 2015-10-29 14:55:23 +01:00
Sébastien Arod
b60d88fa80 Allow comments in tsconfig.json issue #4987 2015-10-29 12:56:13 +01:00
Martin Všetička
1e2108854b Add warning message empty THEN clause 2015-10-28 08:25:41 +01: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
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
Daniel Rosenwasser
bf4880a078 Merge branch 'master' into stringLiteralTypes 2015-10-26 15:42:11 -07:00
Daniel Rosenwasser
6618fd21bf Added tests for operations that use assignable to/from. 2015-10-26 15:42:02 -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
Wesley Wigham
5e82f234ec Add test of issue 2015-10-23 15:45:45 -07:00