Commit Graph

32750 Commits

Author SHA1 Message Date
Andy 0c17a2b2a8 goToDefinition: Reduce duplicate code around createDefinitionInfo (#23473)
* goToDefinition: Reduce duplicate code around createDefinitionInfo

* Use '[]' instead of 'emptyArray'

* Remove comment
2018-04-17 11:28:12 -07:00
Nathan Shively-Sanders db68075b67 Add create-react-app and puppeteer user tests (#23471)
* Add create-react-app

* Add puppeteer

Everything is broken now. I am going back to master to see if that fixes
things.

* Add puppeteer baseline

* Add chalk override (gitignore was ignoring it)
2018-04-17 11:21:11 -07:00
Andy d009d8efcf Fix bug: IfStatement#elseStatement can be undefined (#23467) 2018-04-17 10:41:53 -07:00
Mohamed Hegazy ca53993e41 Merge pull request #23462 from JoshuaKGoldberg/combined-pretty-summaries
Combined "Found X error(s)" and "Compilation complete" --watch messages
2018-04-17 10:37:07 -07:00
uniqueiniquity 12f6e5232b Remove unnecessary allocation 2018-04-17 09:41:26 -07:00
uniqueiniquity 160356317b Treat expectedRanges as readonly 2018-04-17 09:20:52 -07:00
uniqueiniquity 3a8d66ba29 Only normalize for purposes of assert 2018-04-17 09:20:34 -07:00
Andy e50b24a83b convertFunctionToEs6Class: Copy comment from variable declaration (#23445) 2018-04-17 09:15:05 -07:00
Andy 55f9a6ffc2 Fix bug: VariableDeclaration initiazer may be undefined (#23439) 2018-04-17 08:59:07 -07:00
Josh Goldberg c974b2ced7 Helps to check in the test changes, too 2018-04-17 08:57:05 -07:00
Josh Goldberg bc9ad90a81 Adjusted newlines in non-pretty output for consistency
Fixes #23469
2018-04-17 08:28:12 -07:00
Andy bc285aa9a1 findAllReferences: Mark *every* search symbol as seen, not just search.symbol (#23451) 2018-04-17 07:53:43 -07:00
falsandtru 6798d56472 Fix Promise.reject 2018-04-17 23:08:06 +09:00
csigs 8175d29878 LEGO: Merge pull request 23463
LEGO: Merge pull request 23463
2018-04-17 03:10:59 -07:00
csigs e35336c118 LEGO: check in for master to temporary branch. 2018-04-17 10:10:39 +00:00
Josh Goldberg 9dff614bd2 Combined the "Found X error(s)" and "Compilation" complete --watch messages 2018-04-17 01:47:43 -07:00
csigs 0223404948 LEGO: Merge pull request 23456
LEGO: Merge pull request 23456
2018-04-16 21:11:08 -07:00
csigs 1e6e679a53 LEGO: check in for master to temporary branch. 2018-04-17 04:10:48 +00:00
Andy 40fd6aebdc Shrink span for convert-to-es6-module suggestion (#23441) 2018-04-16 16:46:27 -07:00
Benjamin Lichtman 221ac50c4c Merge pull request #23437 from Microsoft/getOutliningSpansDepthElseIf
In outliningElementsCollector, treat 'else if' as having same depth as the 'if'
2018-04-16 16:25:57 -07:00
uniqueiniquity 606492b677 Fix lint error and normalization issue 2018-04-16 16:20:12 -07:00
Anders Hejlsberg 16cd5580a6 Merge branch 'master' into improveIndexTypes
# Conflicts:
#	src/compiler/checker.ts
#	src/server/utilities.ts
2018-04-16 16:18:29 -07:00
uniqueiniquity e9d6f788ca Add test 2018-04-16 15:59:22 -07:00
uniqueiniquity 003c0a6743 Move normalization into services 2018-04-16 15:59:22 -07:00
uniqueiniquity 676983cb3e Normalize paths to search for highlights 2018-04-16 15:59:22 -07:00
Andy cae464058a Delete "delete me" files (#23446) 2018-04-16 15:29:02 -07:00
csigs 2558839e91 LEGO: Merge pull request 23447
LEGO: Merge pull request 23447
2018-04-16 15:11:29 -07:00
csigs 1bafc49da0 LEGO: check in for master to temporary branch. 2018-04-16 22:11:09 +00:00
Ryan Cavanaugh 127dda442e Merge pull request #23443 from Microsoft/fixGulpfile
Convert gulp processDiagnostics builder to project compilation
2018-04-16 15:09:35 -07:00
Ryan Cavanaugh 5ce6b6a2ae Convert gulp processDiagnostics builder to project compilation 2018-04-16 13:53:30 -07:00
Armando Aguirre 9923003ee6 Merge branch 'master' into AddVueSupport 2018-04-16 13:45:34 -07:00
Armando Aguirre 2f7e0dc5dd Refactored getSupportedExtension to only copy array when necessary 2018-04-16 13:36:03 -07:00
Andy aac9ef5e51 convertToEs6Module: Avoid replacing entire function (#22507)
* convertToEs6Module: Avoid replacing entire function

* Code review

* Fix typo
2018-04-16 13:16:04 -07:00
Mohamed Hegazy a8618a79e1 Merge pull request #23358 from joscha/joscha/fix-non-imports-matching
fix: do not match MySymbol.import("mod")
2018-04-16 12:37:53 -07:00
Mohamed Hegazy f0057f9a33 Remove condition 2018-04-16 11:48:04 -07:00
Andy Hanson a60caba467 In outliningElementsCollector, treat 'else if' as having same depth as the 'if' 2018-04-16 11:33:30 -07:00
Andy cc6bc763bc Simplify getConvertibleFieldAtPosition (#23315) 2018-04-16 09:30:10 -07:00
csigs 3c92344fcc LEGO: Merge pull request 23428
LEGO: Merge pull request 23428
2018-04-16 09:11:04 -07:00
csigs f5b7826c1f LEGO: check in for master to temporary branch. 2018-04-16 16:10:41 +00:00
Andy a297a28fd5 Use getPossibleSymbolReferenceNodes in one more place (#23378) 2018-04-16 08:27:25 -07:00
Anders Hejlsberg 8cb515ab13 Add members for numeric and symbol named properties in mapped types 2018-04-16 07:16:26 -07:00
Daniel Rosenwasser a2073f1217 Accepted baselines. 2018-04-15 16:04:47 -07:00
Daniel Rosenwasser eb8eeafc22 Allow parsing tagged templates with type arguments in new expressions. 2018-04-15 16:04:25 -07:00
Daniel Rosenwasser 2510c19fbd Accepted baselines. 2018-04-15 15:59:23 -07:00
Daniel Rosenwasser 6107e05e8c Added test for tagged templates in new expressions. 2018-04-15 15:57:38 -07:00
Anders Hejlsberg 6c60f7e243 Accept new baselines 2018-04-14 17:16:07 -10:00
Anders Hejlsberg c344e6d0ba Fixes and improvements to indexed access type relationships 2018-04-14 17:10:05 -10:00
Joscha Feth a3311edb4a revert change 2018-04-15 11:30:37 +10:00
Joscha Feth 4dc9db1e70 detect nested non-imports 2018-04-15 11:27:51 +10:00
Daniel Rosenwasser 299002d597 Fix spacing. 2018-04-14 11:53:27 -07:00