2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/moduleClassArrayCodeGenTest.ts(10,9): error TS2305: Module 'M' has no exported member 'B'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/moduleClassArrayCodeGenTest.ts (1 errors) ====
|
|
|
|
// Invalid code gen for Array of Module class
|
|
|
|
|
|
|
|
module M
|
|
|
|
{
|
|
|
|
export class A { }
|
|
|
|
class B{ }
|
|
|
|
}
|
|
|
|
|
|
|
|
var t: M.A[] = [];
|
|
|
|
var t2: M.B[] = [];
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2305: Module 'M' has no exported member 'B'.
|