Add rangeUntil to the list of not interpreted builtin members #KT-52933

This commit is contained in:
Ilya Gorbunov
2022-08-12 20:48:54 +02:00
committed by Space
parent 64a11c555f
commit bbe5dca33e
@@ -48,7 +48,7 @@ enum class EvaluationMode(protected val mustCheckBody: Boolean) {
},
ONLY_BUILTINS(mustCheckBody = false) {
private val forbiddenMethodsOnPrimitives = setOf("inc", "dec", "rangeTo", "hashCode")
private val forbiddenMethodsOnPrimitives = setOf("inc", "dec", "rangeTo", "rangeUntil", "hashCode")
private val forbiddenMethodsOnStrings = setOf("subSequence", "hashCode", "<init>")
private val allowedExtensionFunctions = setOf("kotlin.floorDiv", "kotlin.mod", "kotlin.NumbersKt.floorDiv", "kotlin.NumbersKt.mod")