Kotlin: Recognise more numeric types

This commit is contained in:
Ian Lynagh
2021-11-22 13:57:54 +00:00
parent 76151b413f
commit 2d8a2abe5c
3 changed files with 27 additions and 12 deletions

View File

@@ -608,6 +608,9 @@ open class KotlinFileExtractor(
fun isNumericFunction(fName: String): Boolean {
return isFunction("kotlin", "Int", fName) ||
isFunction("kotlin", "Short", fName) ||
isFunction("kotlin", "Long", fName) ||
isFunction("kotlin", "Float", fName) ||
isFunction("kotlin", "Double", fName)
}