2014-11-11 00:56:18 +01:00
|
|
|
tests/cases/compiler/aliasInaccessibleModule2.ts(7,16): error TS4000: Import declaration 'R' is using private name 'N'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-08-08 22:56:53 +02:00
|
|
|
==== tests/cases/compiler/aliasInaccessibleModule2.ts (1 errors) ====
|
|
|
|
module M {
|
|
|
|
module N {
|
|
|
|
class C {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
import R = N;
|
2014-11-11 00:56:18 +01:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS4000: Import declaration 'R' is using private name 'N'.
|
2014-08-08 22:56:53 +02:00
|
|
|
export import X = R;
|
|
|
|
}
|