34 lines
884 B
Plaintext
34 lines
884 B
Plaintext
=== tests/cases/compiler/duplicateAnonymousInners1.ts ===
|
|
module Foo {
|
|
>Foo : Symbol(Foo, Decl(duplicateAnonymousInners1.ts, 0, 0), Decl(duplicateAnonymousInners1.ts, 10, 1))
|
|
|
|
class Helper {
|
|
>Helper : Symbol(Helper, Decl(duplicateAnonymousInners1.ts, 0, 12))
|
|
|
|
}
|
|
|
|
class Inner {}
|
|
>Inner : Symbol(Inner, Decl(duplicateAnonymousInners1.ts, 4, 5))
|
|
|
|
// Inner should show up in intellisense
|
|
|
|
export var Outer=0;
|
|
>Outer : Symbol(Outer, Decl(duplicateAnonymousInners1.ts, 9, 14))
|
|
}
|
|
|
|
|
|
module Foo {
|
|
>Foo : Symbol(Foo, Decl(duplicateAnonymousInners1.ts, 0, 0), Decl(duplicateAnonymousInners1.ts, 10, 1))
|
|
|
|
// Should not be an error
|
|
class Helper {
|
|
>Helper : Symbol(Helper, Decl(duplicateAnonymousInners1.ts, 13, 12))
|
|
|
|
}
|
|
|
|
// Inner should not show up in intellisense
|
|
// Outer should show up in intellisense
|
|
|
|
}
|
|
|