fix(selector): checkType
Some checks failed
Build-Apk / build (push) Has been cancelled

This commit is contained in:
lisonge 2024-07-12 12:07:46 +08:00
parent e38bf00a96
commit dd12a20f9c

View File

@ -85,7 +85,7 @@ class Selector(
fun checkType(typeInfo: TypeInfo): SelectorCheckException? {
try {
propertyWrapper.segment.binaryExpressions.forEach { exp ->
binaryExpressions.forEach { exp ->
if (!exp.operator.value.allowType(exp.left, exp.right)) {
throw MismatchOperatorTypeException(exp)
}