TypeScript/tests/baselines/reference/constructorArgsErrors2.errors.txt

11 lines
381 B
Text
Raw Normal View History

tests/cases/compiler/constructorArgsErrors2.ts(2,25): error TS1090: 'static' modifier cannot appear on a parameter.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/constructorArgsErrors2.ts (1 errors) ====
class foo {
constructor (public static a: number) {
~~~~~~
!!! error TS1090: 'static' modifier cannot appear on a parameter.
2014-07-13 01:04:16 +02:00
}
}