8915 Commits

Author SHA1 Message Date
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
6aecd43d9a Fix isConstructorParameter 2015-10-30 15:03:44 -07:00
Wesley Wigham
95a3fc7143 feedback form pr, new baselines 2015-10-30 14:52:45 -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
Wesley Wigham
6c812420ec Merge branch 'master' into out-module-concat 2015-10-30 11:27:34 -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
Wesley Wigham
0d0c05d1d3 that feling when you ctrl-z 1 too many times 2015-10-29 18:50:11 -07:00
Wesley Wigham
19e796dcbd More correctness 2015-10-29 18:46:06 -07:00
Wesley Wigham
9f12bc8a1b feedback from pr, new tests 2015-10-29 17:51:36 -07:00
Mohamed Hegazy
0c3d52e8b1 Update CONTRIBUTING.md
respond to review comments
2015-10-29 17:33:09 -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
Mohamed Hegazy
71cbaef79e Update documentation for fixing lib issues 2015-10-29 15:27:45 -07:00
Sébastien Arod
5f81ba12aa Use CharactersCodes and isLineBreak in conditions 2015-10-29 23:02:32 +01:00
Anders Hejlsberg
a27ed01516 Adding test 2015-10-29 14:53:28 -07:00
Anders Hejlsberg
c5b47fb5c8 Correct partial signature matching 2015-10-29 14:53:14 -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
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
Vladimir Matveev
067e1ccef2 Merge pull request #5440 from Microsoft/lintServer
lint code in 'server' folder
2015-10-28 20:55:46 -07:00
Ron Buckton
6db601a921 Added initial source map position tracking for tokens. 2015-10-28 17:43:48 -07:00
Ron Buckton
21574cd8a6 Added source maps to printer 2015-10-28 17:24:24 -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
Wesley Wigham
168c664639 restore any narrowing 2015-10-28 16:29:36 -07:00
Wesley Wigham
febda00f1b Improve type narrowing algorithm with typeof 2015-10-28 16:06:40 -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
Wesley Wigham
062495c426 naive change and new tests 2015-10-28 13:48:32 -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
Ron Buckton
2a3f802841 Force experimental transforms for performance tests. 2015-10-28 13:36:40 -07:00
Ron Buckton
bbfe33f7cd Enables source maps for exceptions in the compiler, if available. 2015-10-28 13:33:57 -07:00
Ron Buckton
74ac4c5b1c Fixed bugs in emit for more consistent output and missing hints for transformations. 2015-10-28 13:33:03 -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