You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/test/functional/namespace/lib/index.d.ts b/test/functional/namespace/lib/index.d.ts
index 1588f47..6b6f38b 100644
--- a/test/functional/namespace/lib/index.d.ts+++ b/test/functional/namespace/lib/index.d.ts@@ -3,12 +3,14 @@ declare module "package-namespace" {
function testFn(param: string): string
function testFn(param: number): string
+ function testFn(param: NestedNamespace.IdentifierBase): string
interface TestInterface {
testFn: typeof testFn
}
namespace NestedNamespace {
+ type IdentifierBase = "0" | "1"
const nestedNamespaceValue: number
}
you get test/functional/namespace/generated/package/namespace/nestednamespace/IdentifierBase.kt with package `package`.namespace.nestednamespace which is perfectly fine and expected.
But in test/functional/namespace/generated/package/namespace/testFn.kt you get external fun testFn(param: NestedNamespace.IdentifierBase): String which will not compile, as you cannot use a relative package name of course.
The text was updated successfully, but these errors were encountered:
If you apply
you get
test/functional/namespace/generated/package/namespace/nestednamespace/IdentifierBase.kt
withpackage `package`.namespace.nestednamespace
which is perfectly fine and expected.But in
test/functional/namespace/generated/package/namespace/testFn.kt
you getexternal fun testFn(param: NestedNamespace.IdentifierBase): String
which will not compile, as you cannot use a relative package name of course.The text was updated successfully, but these errors were encountered: