mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
393 B
TypeScript
21 lines
393 B
TypeScript
//// [tests/cases/compiler/controlFlowPropertyInitializer.ts] ////
|
|
|
|
//// [controlFlowPropertyInitializer.ts]
|
|
// Repro from #8967
|
|
|
|
const LANG = "Turbo Pascal"
|
|
|
|
class BestLanguage {
|
|
name = LANG;
|
|
}
|
|
|
|
//// [controlFlowPropertyInitializer.js]
|
|
"use strict";
|
|
// Repro from #8967
|
|
const LANG = "Turbo Pascal";
|
|
class BestLanguage {
|
|
constructor() {
|
|
this.name = LANG;
|
|
}
|
|
}
|