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