Skip to content

Commit

Permalink
Fix escaping of keywords in names of nested types.
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipDolnik committed May 30, 2024
1 parent d2b93b0 commit 4a4f79e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ParameterizedTypeName internal constructor(
else -> {
if (enclosingType != null) {
enclosingType.emit(out)
out.emit("." + rawType.simpleName)
out.emit("." + escapeKeywords(rawType.simpleName))
} else {
rawType.emit(out)
}
Expand Down

0 comments on commit 4a4f79e

Please sign in to comment.