mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
//// [tests/cases/compiler/errorRecoveryInClassDeclaration.ts] ////
|
|
|
|
//// [errorRecoveryInClassDeclaration.ts]
|
|
class C {
|
|
public bar() {
|
|
var v = foo(
|
|
public blaz() {}
|
|
);
|
|
}
|
|
}
|
|
|
|
//// [errorRecoveryInClassDeclaration.js]
|
|
"use strict";
|
|
class C {
|
|
bar() {
|
|
var v = foo(public, blaz(), {});
|
|
}
|
|
}
|