mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
285 B
Plaintext
11 lines
285 B
Plaintext
//// [tests/cases/compiler/concatClassAndString.ts] ////
|
|
|
|
=== concatClassAndString.ts ===
|
|
// Shouldn't compile (the long form f = f + ""; doesn't):
|
|
class f { }
|
|
>f : Symbol(f, Decl(concatClassAndString.ts, 0, 0))
|
|
|
|
f += '';
|
|
>f : Symbol(f, Decl(concatClassAndString.ts, 0, 0))
|
|
|