Commit Graph

32750 Commits

Author SHA1 Message Date
Ryohei Ikegami 3b23ab5fb7 Do not type non-identifier binding name 2015-10-25 12:23:24 +09:00
Julian Williams 1d6f5c6781 Added grammar change to the comments. 2015-10-24 22:21:34 -04:00
Zhengbo Li c3c66a40f1 Merge pull request #5354 from zhengbli/fixWriteSync
Change sys.write to async in tsserver
2015-10-24 18:57:14 -04:00
Julian Williams 5613ba860f accepted baselines 2015-10-24 13:43:11 -04:00
Julian Williams a0939d962b Added TypeAliasDeclaration to exceptions for required top level declare modifier 2015-10-23 22:43:11 -04:00
Nathan Shively-Sanders 3682580366 First draft of test parallelisation 2015-10-23 16:27:44 -07:00
Wesley Wigham 5e82f234ec Add test of issue 2015-10-23 15:45:45 -07:00
Wesley Wigham f038a0f18c ignore names when checking type parameter equality 2015-10-23 15:33:18 -07: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 742c701868 Use emptyArray instead of [] for no base types. 2015-10-23 14:26:45 -07:00
Nathan Shively-Sanders ab2994ff87 Fix union types of variadic functions
The check used `=== len - 1` instead of `>= len - 1` to check whether a
parameter index might be pointing to a rest argument.
2015-10-23 13:34:09 -07:00
Nathan Shively-Sanders 7a1004371b Add tests and accept baselines 2015-10-23 13:33:55 -07:00
Vladimir Matveev 69986a158f Merge pull request #5367 from Microsoft/cacheFileExists
cache results of fileExists check in default compiler host
2015-10-23 13:27:32 -07:00
Vladimir Matveev 19a222e718 addressed PR feedback 2015-10-23 13:09:05 -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
zhengbli bf1335b0e6 CR feedback. 2015-10-23 12:39:16 -07:00
Zhengbo Li f431c82296 Merge pull request #5336 from zhengbli/fixWatcherIssue
Issue fix for config file watcher callback
2015-10-23 11:47:54 -07:00
Wesley Wigham 8e492a496f Merge pull request #5370 from weswigham/system-export-var
Fix system export var when targeting ES6
2015-10-23 11:20:22 -07:00
Daniel Rosenwasser 7ed6c7a944 Merge pull request #5373 from brettm523/5298-normalize-err-msg-path
add normalizePath to to fix slashes
2015-10-22 23:54:01 -07:00
Daniel Rosenwasser 049d02f871 Merge branch 'master' into stringLiteralTypes 2015-10-22 23:42:00 -07:00
Brett Mayen 7c251bc605 add normalizePath to to fix slashes 2015-10-22 21:01:24 -07:00
Julian Williams c30ac53c66 Accepted baselines. 2015-10-22 20:44:50 -04:00
Ryan Cavanaugh bede6edc51 Merge pull request #5366 from RyanCavanaugh/typeOperatorSpacingRule
Type operator spacing rule
2015-10-22 16:33:21 -07:00
Ryan Cavanaugh d284a90cc2 Style changes 2015-10-22 15:43:18 -07:00
Ryan Cavanaugh 91eb758d59 CR feedback 2015-10-22 15:39:01 -07: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
Wesley Wigham dfada8ec84 remove es6 check form system module 2015-10-22 14:24:04 -07:00
Vladimir Matveev abf270a9b4 do not look into nested es6 exports / imports when collecting external modules 2015-10-22 14:12:57 -07:00
Nathan Shively-Sanders f99227b330 Accept baselines 2015-10-22 13:28:54 -07:00
Nathan Shively-Sanders 36050cdefd Update diagnostic text to use ES2015, not ES6. 2015-10-22 13:23:12 -07:00
Vladimir Matveev 7158a65b15 move 'fileExists' caching to tsc 2015-10-22 13:22:45 -07:00
Vladimir Matveev 6dda170e13 cache results of fileExists check in default compiler host 2015-10-22 11:54:45 -07:00
Ryan Cavanaugh 9da964f019 Remove extra semicolon (the irony) 2015-10-22 11:39:41 -07:00
Ryan Cavanaugh 69236c9be8 Add rule to check spaces around intersection/union type operators 2015-10-22 11:35:48 -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 56322d2ecc Root class merged with interface can be extended
I found that merging a class that has no base with an interface that has a
base class causes a crash because `getDefaultConstructSignatures` assumes
that any base must be a class base. Which was true in the previously buggy
state.
2015-10-22 11:26:19 -07:00
Vladimir Matveev 7d09f268c4 defer allocation of error message text in binder 2015-10-22 09:50:38 -07:00
Vladimir Matveev ece96ac8a4 Merge pull request #5360 from Microsoft/runTestsBrowserOnLinux
pick default chrome location based on platform
2015-10-22 08:59:40 -07:00
Vladimir Matveev 2779352868 make binder singleton, inline bindWithReachabilityChecks 2015-10-22 08:58:20 -07:00
Nathan Shively-Sanders ae6ebe1550 Accept new baselines 2015-10-21 19:55:04 -07: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
Vladimir Matveev 0834a29b15 pick default chrome location based on platform 2015-10-21 17:04:18 -07:00
Daniel Rosenwasser 307d73ed0d Merge branch 'master' into stringLiteralTypes 2015-10-21 17:02:29 -07:00
Nathan Shively-Sanders 4d05189d8d Improve naming of test members 2015-10-21 16:23:59 -07:00
Wesley Wigham 255cde582d remove assertion 2015-10-21 16:15:53 -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
Wesley Wigham 8658bf487e Add JS breakpoint into Debug.assert failure
I was talking to @DanielRosenwasser the other day and mentioned this - it's been a floating patch that I keep reapplying on top of my own changes locally. Turns out, it's pretty useful to have a preset breakpoint when an assertion is violated.
2015-10-21 16:11:22 -07:00