8505 Commits

Author SHA1 Message Date
Sheetal Nandi
a8eb76fde1 Remove the logic for parsing compilation of comma seperated list of strings on command line
Also removed logic to accept multiple values for the option
2015-10-28 15:26:48 -07:00
Sheetal Nandi
ea57efa430 Test baseline update because .map cannot be a valid js file anymore 2015-10-28 14:09:03 -07:00
Sheetal Nandi
382b86bd2c Test update for using allowJs instead of --jsExtensions 2015-10-28 14:03:18 -07:00
Sheetal Nandi
ba3d34f9df Instead of --jsExtensions support --allowJs with .js and .jsx as supported extensions 2015-10-28 14:02:46 -07:00
Sheetal Nandi
57362f6017 Some tests to cover transpilation of different syntax 2015-10-28 13:08:35 -07:00
Sheetal Nandi
8f03d00dc0 Test cases to verify that declaration file is not emitted if any of the declaration file in program has error 2015-10-28 13:08:20 -07:00
Sheetal Nandi
bf05ea3b2f Some test cases to verify that declaration file overwrite is reported correctly 2015-10-28 13:08:06 -07:00
Sheetal Nandi
ff933be5ff Populate if emit was skipped correctly as part of emit result 2015-10-28 13:07:50 -07:00
Sheetal Nandi
93cc1e530b Check source map files are being overwritten 2015-10-28 13:07:35 -07:00
Sheetal Nandi
c26d2da572 Do not emit declarations file if we reported error about inaccessible This type 2015-10-28 13:07:27 -07:00
Sheetal Nandi
d14934e4da Tests update for emitting declarations if no errors 2015-10-28 13:07:08 -07:00
Sheetal Nandi
3215438ddf Dont emit declaration file if there are errors in the source file 2015-10-28 13:06:52 -07:00
Sheetal Nandi
68040879c9 Refactoring to fix build issues 2015-10-28 13:06:30 -07:00
Sheetal Nandi
0496bfe278 Merge branch 'master' into tscJsFiles 2015-10-19 12:32:51 -07:00
Daniel Rosenwasser
28c2887d50 Merge pull request #5322 from jvilk/master
Change ArrayBuffer.isView declaration to type guard for ArrayBufferView.
2015-10-18 20:30:29 -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
Nathan Shively-Sanders
0b580c4754 Merge pull request #5307 from Microsoft/add-debug-instructions-to-contributing
Add instructions on how to debug tests to CONTRIBUTING.md
2015-10-18 07:54:06 -07:00
Nathan Shively-Sanders
72d6ec0667 Add missing newline after runtests/debug 2015-10-18 07:39:17 -07:00
Nathan Shively-Sanders
1c4a1169f2 Add debug=true option also 2015-10-18 07:35:56 -07:00
Nathan Shively-Sanders
952ea0f82b Add instructions on how to debug tests 2015-10-17 11:38:55 -07:00
Daniel Rosenwasser
6aeec13d7e Merge pull request #5293 from Microsoft/bumpTo1.8
Bump version number to 1.8
2015-10-16 18:00:09 -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
Ron Buckton
5b9469850a Merge pull request #5294 from Microsoft/fixDecoratorSwitch
Fixes an issue with decorators when compiling using tsc.exe
2015-10-16 14:54:07 -07:00
Ron Buckton
81e784c01e Fixed linter error 2015-10-16 14:36:36 -07:00
Ron Buckton
798ffa763d Switched switch statement to if branches.
Fixes #5229.
2015-10-16 12:36:51 -07:00
Daniel Rosenwasser
d8237dc2f3 Updated the LKG. 2015-10-16 12:31:29 -07:00
Daniel Rosenwasser
3749fe854d Bumped version to 1.8.0. 2015-10-16 12:28:48 -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
302db0a9d5 Merge pull request #5272 from Microsoft/es2015-target
Add ES2015 as a synonym to ES6
2015-10-15 12:46:47 -07:00
Sheetal Nandi
acf7de7d34 Merge branch 'master' into tscJsFiles 2015-10-15 12:30:55 -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
Sheetal Nandi
1ae1464764 Test cases for let declaration and its use order 2015-10-15 11:22:53 -07:00
Sheetal Nandi
5aa7086b81 Use ts.indexOf instead of Array.indexOf method 2015-10-15 11:04:25 -07:00
Zhengbo Li
d703e09227 Merge pull request #5262 from zhengbli/Fix5127CR
Address code review from 5127
2015-10-14 18:20:06 -07:00
zhengbli
b7c93c012f Address CR from 5127 2015-10-14 17:50:29 -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
Zhengbo Li
2bf39a65d9 Merge pull request #5261 from zhengbli/i5015
Re-read file content upon closing
2015-10-14 17:41:54 -07:00
zhengbli
fcfc25eeb0 Fix lint errors 2015-10-14 16:57:08 -07:00
zhengbli
f91bee0324 Re-read file content upon closing 2015-10-14 16:50:31 -07:00
zhengbli
c75499974e Fix rwcRunner 2015-10-14 16:31:27 -07:00
zhengbli
6013968b1f Address build errors 2015-10-14 16:25:27 -07:00
zhengbli
62664fdeda Add timer for batch processing directory changes 2015-10-14 16:09:41 -07:00
zhengbli
def268cccf Fix issues with removing roots 2015-10-14 15:48:25 -07:00
zhengbli
002f0c066b CR feedback 2015-10-14 15:10:05 -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
e964cb10ca Make constructor use merged parent symbol
Previously in getSignatureFromDeclaration, it just used the parent symbol
without checking whether it was merged.
2015-10-14 12:24:22 -07:00