mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Kotlin: Handle Short and Byte literals
I don't think we need separate DB types for them
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user