Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37d6bc2

Browse files
committed
Kotlin: Fix Byte tests
1 parent 1eda692 commit 37d6bc2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ open class KotlinFileExtractor(
605605

606606
fun isNumericFunction(fName: String): Boolean {
607607
return isFunction("kotlin", "Int", fName) ||
608+
isFunction("kotlin", "Byte", fName) ||
608609
isFunction("kotlin", "Short", fName) ||
609610
isFunction("kotlin", "Long", fName) ||
610611
isFunction("kotlin", "Float", fName) ||

java/ql/test/kotlin/library-tests/exprs/exprs.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import java.awt.Polygon
22
import java.awt.Rectangle
33

44
fun topLevelMethod(x: Int, y: Int,
5-
byx: Double, byy: Double,
5+
byx: Byte, byy: Byte,
66
sx: Short, sy: Short,
77
lx: Long, ly: Long,
88
dx: Double, dy: Double,

0 commit comments

Comments
 (0)