Skip to content

Commit

Permalink
Be explicit about Kotlin database type
Browse files Browse the repository at this point in the history
  • Loading branch information
smowton committed Nov 1, 2024
1 parent 5d3f723 commit 81ff394
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5748,7 +5748,7 @@ open class KotlinFileExtractor(
// Match Java by using a special <nulltype> for nulls, rather than Kotlin's view of this which is
// kotlin.Nothing?, the type that can only contain null.
val nullTypeName = "<nulltype>"
val javaNullType = tw.getLabelFor(
val javaNullType = tw.getLabelFor<DbPrimitive>(
"@\"type;$nullTypeName\"",
{ tw.writePrimitives(it, nullTypeName) }
)
Expand Down

0 comments on commit 81ff394

Please sign in to comment.