mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Typo
This commit is contained in:
@@ -15,7 +15,7 @@ tests/cases/conformance/statements/tryStatements/invalidTryStatements2.ts(19,20)
|
||||
|
||||
finally { } // potential error; can be absorbed by the 'catch'
|
||||
|
||||
try { }; // missing finally
|
||||
try { }; // error missing finally
|
||||
~
|
||||
!!! error TS1005: 'finally' expected.
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ function fn() {
|
||||
|
||||
finally { } // potential error; can be absorbed by the 'catch'
|
||||
|
||||
try { }; // missing finally
|
||||
try { }; // error missing finally
|
||||
}
|
||||
|
||||
function fn2() {
|
||||
@@ -28,7 +28,7 @@ function fn() {
|
||||
finally { } // potential error; can be absorbed by the 'catch'
|
||||
try { }
|
||||
finally { }
|
||||
; // missing finally
|
||||
; // error missing finally
|
||||
}
|
||||
function fn2() {
|
||||
try {
|
||||
|
||||
@@ -3,7 +3,7 @@ function fn() {
|
||||
|
||||
finally { } // potential error; can be absorbed by the 'catch'
|
||||
|
||||
try { }; // missing finally
|
||||
try { }; // error missing finally
|
||||
}
|
||||
|
||||
function fn2() {
|
||||
|
||||
Reference in New Issue
Block a user