Commit graph

8571 commits

Author SHA1 Message Date
Nathan Shively-Sanders 201266b97f Switch to isNodeDescendantOf 2015-10-31 12:42:04 -07:00
Nathan Shively-Sanders 6aecd43d9a Fix isConstructorParameter 2015-10-30 15:03:44 -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 c82d4a61e3 Forbid 'this' as constructor parameter type 2015-10-30 14:01:06 -07:00
Nathan Shively-Sanders 16f69daf10 Merge pull request #5469 from Microsoft/improve-constructor-object-return-error-message
Improve constructor object return error message
2015-10-30 10:17:47 -07:00
Vladimir Matveev 43b17c1ec7 Merge pull request #5462 from Microsoft/useResolvedFileNameWhenResolvingImports
Use dedicated type to store paths
2015-10-30 10:09:10 -07:00
Vladimir Matveev 83919f0a3e addressed PR feedback: renamed 'toRelativePath' to 'convertToRelativePath' 2015-10-30 09:52:14 -07:00
Nathan Shively-Sanders 1b0bc8a496 Accept baselines 2015-10-30 09:21:23 -07:00
Nathan Shively-Sanders 79f09dab4f Add more detailed error message
When an object literal, for example, is returned that does not match the
type of the consturctor, add detail about a field that is required but
missing.

Do this by passing `node.expression` instead of `undefined` -- the rest of
the error reporting infrastructure is already in place.
2015-10-30 09:16:10 -07:00
Vladimir Matveev 534bb62c59 remove 'path' suffix from FileMap methods 2015-10-29 16:43:12 -07:00
Vladimir Matveev e1b4f01e77 introduce Path as branded string type, switch FileMap to use Path 2015-10-29 16:24:00 -07:00
Vladimir Matveev 93e942a6de FileMap now internally stores absolute normalized file names 2015-10-29 13:52:43 -07:00
Vladimir Matveev 67026f3461 use resolvedFileName as is when calling methods on host 2015-10-29 13:09:46 -07:00
Vladimir Matveev 067e1ccef2 Merge pull request #5440 from Microsoft/lintServer
lint code in 'server' folder
2015-10-28 20:55:46 -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
Vladimir Matveev 9c0982051d lint node.d.ts 2015-10-28 16:02:16 -07:00
Vladimir Matveev 5ce7fd9781 lint server 2015-10-28 15:42:15 -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
Ron Buckton 9201ba2857 Merge pull request #5429 from Microsoft/fixAsyncTypeAlias
Fix type check for async function with alias return type.
2015-10-28 14:10:44 -07:00
Ron Buckton fdac86fab9 Linter errors 2015-10-28 13:48:13 -07:00
Mohamed Hegazy d28acec24e Update LKG 2015-10-28 13:40:23 -07:00
Mohamed Hegazy 0d71ec3120 Fix #5430: Use FileMap instead of a simple Map for storing file list in tsserver 2015-10-28 13:38:39 -07:00
Mohamed Hegazy 0aef9440f2 Update LKG 2015-10-28 11:41:27 -07:00
Mohamed Hegazy 4bbb7d29c3 Remove async from builtGeneratedDiagnosticMessagesJSON task 2015-10-28 11:40:33 -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
Wesley Wigham 3ad29eafe3 Merge pull request #5425 from Microsoft/weswigham-patch-1
Add diagnosticMessages.generated.json to gitignore
2015-10-27 16:19:18 -07:00
Wesley Wigham e2000ab4fb Add diagnosticMessages.generated.json to gitignore
Before we accidentally commit it.
2015-10-27 15:36:32 -07:00
Yui b3d5fdb2fb Merge pull request #5419 from Microsoft/copyDiagnosticsMsg
Copy generated diagnostic messages json from src/compiler to built/local
2015-10-27 14:28:10 -07:00
Yui T a5c9a2d263 Include the built into local task 2015-10-27 14:16:05 -07:00
Wesley Wigham d07a2774a3 const enum fixing in postprocess step 2015-10-27 14:03:20 -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
Yui T 46141f5213 Copy generated diagnostic messages json from src/compiler to built/local 2015-10-27 13:20:12 -07:00
Wesley Wigham 6e78b9c34d Merge pull request #5358 from Microsoft/debugger
Add JS breakpoint into Debug.assert failure
2015-10-27 10:27:02 -07:00
Mohamed Hegazy 6d9e7938dc Merge pull request #5410 from kenhowardpdx/es6-source-order
Fixed ES6 Source Order
2015-10-27 10:24:25 -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
Vladimir Matveev 847a074f5b Merge pull request #5408 from Microsoft/asyncWriteOnServer
use process.stdout.write on server instead of fs.write
2015-10-27 09:59:30 -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
Zhengbo Li a9058f9aa9 Merge pull request #5402 from zhengbli/i4177
Add string overloads to document.createElementNS
2015-10-26 23:41:28 -04: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
Ken Howard db2c885120 Updated LKG. 2015-10-26 17:17:23 -07:00
Ken Howard bef1acbaff Fixed ordering for lib.es6.d.ts. 2015-10-26 17:17:12 -07: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
Vladimir Matveev 41697b948f addressed PR feedback 2015-10-26 16:54:33 -07:00
Vladimir Matveev 2fbc7e7751 use process.stdout.write on server 2015-10-26 16:10:23 -07:00