Kotlin: Handle Short and Byte literals

I don't think we need separate DB types for them
This commit is contained in:
Ian Lynagh
2021-10-29 17:25:18 +01:00
parent f0ac63c466
commit 6b5663df46

View File

@@ -1379,7 +1379,7 @@ class X {
val exprParent = parent.expr(e, callable)
val v = e.value
when(v) {
is Int -> {
is Int, is Short, is Byte -> {
val id = tw.getFreshIdLabel<DbIntegerliteral>()
val type = useType(e.type)
val locId = tw.getLocation(e)