Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
fix: fix non namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Oct 9, 2024
1 parent 0c61bbb commit 4e2a262
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abstract class BaseType(
val forwardDeclareList: MutableSet<String> = mutableSetOf()

val simpleName = name.substringAfterLast("::")
val namespace = name.substringBeforeLast("::")
val namespace = name.substringBeforeLast("::", "::")
val fullEscapeName = name.replace("::", "_")
val fullUpperEscapeName = fullEscapeName.uppercase(Locale.getDefault())

Expand Down

0 comments on commit 4e2a262

Please sign in to comment.