Skip to content

Commit 62e1fcc

Browse files
added multiline call diagnostic
1 parent 2c3f3c5 commit 62e1fcc

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

snapshots/input/diagnostics/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ function car() {}
1414
function main() {
1515
new Foo()
1616
bar()
17+
car()
1718
}

snapshots/output/diagnostics/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@ function main() {
2626
//^^^ reference diagnostics 0.0.1 `index.ts`/bar().
2727
//diagnostic Information:
2828
//> This function is deprecated
29+
car()
30+
//^^^ reference diagnostics 0.0.1 `index.ts`/car().
31+
//diagnostic Information:
32+
//> This is a function that has
33+
//> multiple lines and is also deprecated. Make
34+
//> sure to reference {@link bar } for some reason
2935
}
3036

0 commit comments

Comments
 (0)