Merge pull request #29216 from uniqueiniquity/multilineArgumentSpans

Give appropriate outlining span for array and object literals as args in call expression
This commit is contained in:
Benjamin Lichtman authored and GitHub committed 2018-12-31 15:18:07 -08:00
commit aebcb6df36
2 files changed
+15 -2

No files matched your search

@@ -102,5 +102,18 @@
//////outline after a deeply nested node
////class AfterNestedNodes[| {
////}|]
////// function arguments
////function f(x: number[], y: number[])[| {
//// return 3;
////}|]
////f(
////// single line array literal span won't render in VS
//// [|[0]|],
//// [|[
//// 1,
//// 2
//// ]|]
////);
verify.outliningSpansInCurrentFile(test.ranges(), "code");