mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
924 B
Plaintext
25 lines
924 B
Plaintext
errorRecoveryInClassDeclaration.ts(3,17): error TS2304: Cannot find name 'foo'.
|
|
errorRecoveryInClassDeclaration.ts(4,13): error TS2304: Cannot find name 'public'.
|
|
errorRecoveryInClassDeclaration.ts(4,20): error TS1005: ',' expected.
|
|
errorRecoveryInClassDeclaration.ts(4,20): error TS2304: Cannot find name 'blaz'.
|
|
errorRecoveryInClassDeclaration.ts(4,27): error TS1005: ',' expected.
|
|
|
|
|
|
==== errorRecoveryInClassDeclaration.ts (5 errors) ====
|
|
class C {
|
|
public bar() {
|
|
var v = foo(
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'foo'.
|
|
public blaz() {}
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'public'.
|
|
~~~~
|
|
!!! error TS1005: ',' expected.
|
|
~~~~
|
|
!!! error TS2304: Cannot find name 'blaz'.
|
|
~
|
|
!!! error TS1005: ',' expected.
|
|
);
|
|
}
|
|
} |