2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/raiseErrorOnParameterProperty.ts(2,25): error TS2304: Cannot find name 'X'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/raiseErrorOnParameterProperty.ts (1 errors) ====
|
|
|
|
class C1 {
|
|
|
|
constructor(public x: X) {
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'X'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
var c1 = new C1(0);
|
|
|
|
|
|
|
|
|