TypeScript/tests/cases/compiler/unusedSemicolonInClass.ts
Nathan Shively-Sanders 97fb0fd55f Add semicolon to unused class member list
Turns out SemicolonClassElement is a specific kind for semicolons inside
a class. Having one of them with --noUnusedLocals on would crash the
compiler after the assert added in #21013.
2018-01-22 12:59:53 -08:00

5 lines
48 B
TypeScript

// @noUnusedLocals: true
class Unused {
;
}