csigs
a04e747569
LEGO: Merge pull request 23369
...
LEGO: Merge pull request 23369
2018-04-12 09:10:51 -07:00
csigs
2a10ef0016
LEGO: check in for master to temporary branch.
2018-04-12 16:10:29 +00:00
Andy
ff7ef4a25a
Add fixName property to CodeFixAction ( #23350 )
2018-04-12 09:05:30 -07:00
csigs
d4a166dad3
LEGO: Merge pull request 23360
...
LEGO: Merge pull request 23360
2018-04-12 03:10:58 -07:00
csigs
29dc3d2a66
LEGO: check in for master to temporary branch.
2018-04-12 10:10:32 +00:00
Joscha Feth
4da2e5eda3
fix: do not match MySymbol.import("mod")
2018-04-12 19:31:07 +10:00
Andy
edcf087145
Fix bug: isSymbolReferencedInFile should return true for shorthand property assignment ( #23314 )
...
* Fix bug: isSymbolReferencedInFile should return true for shorthand property assignment
* Also test for export specifier
2018-04-11 19:01:30 -07:00
Ryan Cavanaugh
0e07d775a1
You have to do this everywhere now!
2018-04-11 16:59:53 -07:00
Andy
d36f83a98d
Remove TODO: GH#18795 comments ( #23337 )
2018-04-11 16:23:04 -07:00
Andy
b0552b089d
Don't include "/index" in import from @types even with classic resolution ( #23347 )
2018-04-11 16:22:10 -07:00
Ryan Cavanaugh
df95de3231
Merge branch 'master' into referencesDogfood_1
2018-04-11 16:17:38 -07:00
Nathan Shively-Sanders
79ad7df7e1
Improve user test tsconfig ( #23325 )
...
* Improve user test tsconfigs
Also incorporate updates from the packages themselves (they fixed
some of the bugs the compiler noticed).
* Fix enhanced-resolve module resolution
* Update baselines after merge w/master
2018-04-11 15:59:19 -07:00
Ryan Cavanaugh
e1a50366e3
.d.ts changed order
2018-04-11 15:55:29 -07:00
Ryan Cavanaugh
9a5a5b10a3
Remove all reference comments from services
2018-04-11 15:39:12 -07:00
Ryan Cavanaugh
501d7be7ba
Add explicit file lists to server tsconfig files
2018-04-11 15:39:12 -07:00
Ryan Cavanaugh
bb8fd41793
Fix harness file listing
2018-04-11 15:39:12 -07:00
Ryan Cavanaugh
034b8eee14
Remove explicit harness file list from Jakefile
2018-04-11 15:39:10 -07:00
Ryan Cavanaugh
21d16693da
Explicitly list server source files in their current emitted order
2018-04-11 15:38:27 -07:00
Ryan Cavanaugh
3ca1d2d7e3
Remove all reference comments from server/
2018-04-11 15:38:26 -07:00
Ryan Cavanaugh
5b3254957c
Explicitly list compiler source files in their current emitted order
2018-04-11 15:38:26 -07:00
Ryan Cavanaugh
8294259ec2
Remove all reference comments from compiler/
2018-04-11 15:38:26 -07:00
Andy
28455c65b3
patternMatcher: Return single best match instead of list ( #23166 )
2018-04-11 15:35:22 -07:00
Andy
f6b206a75a
When testing references, also test documentHighlights respects filesToSearch ( #23306 )
...
* When testing references, also test documentHighlights respects filesToSearch
* Fix handling for redirects and move assertion inside getDocumentHighlights
* Add another assert
2018-04-11 14:07:22 -07:00
Andy
fef28665f7
generateGetAccessorAndSetAccessor: Fix typos and use type predicate ( #23310 )
2018-04-11 13:21:47 -07:00
Andy
a004571d3e
Update outdated comments ( #23320 )
2018-04-11 07:56:42 -07:00
Nathan Shively-Sanders
9ceb113ec5
Allow exports assignments ( #23319 )
...
1. Allow assignment to `exports`.
2. The type of the rhs is not checked against the type of `exports`
since they are aliased declarations.
To support more complex patterns like `exports = c.name = c`, we may
have to treat `c.name` as a declaration. That will be more complicated
than this PR.
2018-04-11 06:49:58 -07:00
Daniel Rosenwasser
01b22ff37e
Merge pull request #23331 from aboveyou00/master
...
Fix typeo: rename udpateReportDiagnostic to updateReportDiagnostic
2018-04-11 01:40:49 -07:00
csigs
1fb2a12b0f
LEGO: Merge pull request 23332
...
LEGO: Merge pull request 23332
2018-04-10 21:11:04 -07:00
csigs
f458e9007d
LEGO: check in for master to temporary branch.
2018-04-11 04:10:41 +00:00
Brandon Slade
82e8bcf3b2
Fix typeo: rename udpateReportDiagnostic to updateReportDiagnostic
2018-04-10 21:58:18 -06:00
Wesley Wigham
8a2b4646f0
Include guards on comment kind in pragma extraction ( #23313 )
2018-04-10 20:50:31 -07:00
Anders Hejlsberg
b746f8e8a4
Accept new baselines
2018-04-10 17:39:55 -10:00
Anders Hejlsberg
0a37cd3736
Update test
2018-04-10 17:35:27 -10:00
Anders Hejlsberg
b40592c34e
String index signatures do not apply to symbols
2018-04-10 17:35:11 -10:00
Wesley Wigham
b2e0c4bea6
Add support for destructuring well-known and late-bound names ( #23297 )
...
* Add support for destructuring well-known and late-bound names
* Add test of not present late bound prop
2018-04-10 18:21:24 -07:00
Wesley Wigham
1243d1a9ba
handle any'd method signature types (ie, from special property declarations) ( #23316 )
2018-04-10 18:17:57 -07:00
Daniel Rosenwasser
0feefab765
'modulekind' -> 'moduleKind'
2018-04-10 16:30:02 -07:00
Daniel Rosenwasser
1ea269af87
Accepted baselines.
2018-04-10 16:29:05 -07:00
Daniel Rosenwasser
4f497e6c0c
Added tests around ES5, assigning to 'import.meta' and properties, global augmentations.
2018-04-10 16:28:50 -07:00
Daniel Rosenwasser
56f4b2eea4
Provide an error when using 'import.meta' without setting 'esnext'.
2018-04-10 16:12:00 -07:00
Daniel Rosenwasser
7c0f249619
Added semicolon.
2018-04-10 16:10:04 -07:00
csigs
0c06f2f44c
LEGO: Merge pull request 23322
...
LEGO: Merge pull request 23322
2018-04-10 15:11:13 -07:00
csigs
cb6d4d1ff6
LEGO: check in for master to temporary branch.
2018-04-10 22:10:52 +00:00
Andy
dcc4b8854b
In getWidenedTypeFromJSSpecialPropertyDeclarations, parent of PropertyAccessExpression must be a BinaryExpression ( #22727 )
2018-04-10 14:46:26 -07:00
Andy
f479de6d02
patternMatcher: Just return 'undefined' for an invalid pattern ( #23237 )
...
* patternMatcher: Just return 'undefined' for an invalid pattern
* Fix tests
2018-04-10 14:38:16 -07:00
Daniel Rosenwasser
910c5d338b
Accepted baselines.
2018-04-10 12:59:38 -07:00
Daniel Rosenwasser
f0081f0a04
Basic checking for 'import.meta'.
2018-04-10 12:59:03 -07:00
Daniel Rosenwasser
9e2bbb6f8a
Basic parsing/emitting support for 'import.meta'.
2018-04-10 12:55:43 -07:00
Nathan Shively-Sanders
22919d57fe
JSDoc:positional matching of destructured params ( #23307 )
...
* JSDoc:positional matching of destructured params
1. When looking up tags for a parameter whose name is a binding pattern, use
the index of the parameter to get the type.
2. When reporting errors for `@param` tags with no matching parameter
name, do not report the error for tags whose index in the `@param` tag list
matches the index of a parameter whose name is a binding pattern.
* Change to an assert
* Improve comment text
2018-04-10 12:48:35 -07:00
Andy
4b706fc479
Add 'disableSuggestions' to UserPreferences ( #23283 )
...
* Add 'disableSuggestions' to UserPreferences
* Make mergeMapLikes return a new object
* Avoid additional clone
* mergeMapLikes -> object spread
2018-04-10 11:53:24 -07:00