Skip to content

Commit 4f3e13a

Browse files
committed
Typo
1 parent f9e85ec commit 4f3e13a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/baselines/reference/invalidTryStatements2.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tests/cases/conformance/statements/tryStatements/invalidTryStatements2.ts(19,20)
1515

1616
finally { } // potential error; can be absorbed by the 'catch'
1717

18-
try { }; // missing finally
18+
try { }; // error missing finally
1919
~
2020
!!! error TS1005: 'finally' expected.
2121
}

tests/baselines/reference/invalidTryStatements2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function fn() {
44

55
finally { } // potential error; can be absorbed by the 'catch'
66

7-
try { }; // missing finally
7+
try { }; // error missing finally
88
}
99

1010
function fn2() {
@@ -28,7 +28,7 @@ function fn() {
2828
finally { } // potential error; can be absorbed by the 'catch'
2929
try { }
3030
finally { }
31-
; // missing finally
31+
; // error missing finally
3232
}
3333
function fn2() {
3434
try {

tests/cases/conformance/statements/tryStatements/invalidTryStatements2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function fn() {
33

44
finally { } // potential error; can be absorbed by the 'catch'
55

6-
try { }; // missing finally
6+
try { }; // error missing finally
77
}
88

99
function fn2() {

0 commit comments

Comments
 (0)