Skip to content

Commit cd03344

Browse files
committed
Fix imports.lua not using FQCN
1 parent 9546855 commit cd03344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/generator/LuaEmitter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class LuaEmitter {
8484
val sb = StringBuilder()
8585
sb.appendLine("---@alias JavaClasses string|")
8686
parsedClasses.forEach { parsedClass ->
87-
val fullName = "${parsedClass.packageName}.${parsedClass.name}"
87+
val fullName = "${parsedClass.fqcn}"
8888
sb.appendLine("---| '\"$fullName\"' ")
8989
}
9090
// Add normal string to the alias as to not cause warnings when someone uses an import not in the list

0 commit comments

Comments
 (0)