blob: 9f467c0cc514be035d28307e07aa8e38e8c8de32 [file] [log] [blame]
import base.*
interface KotlinEvaluatableUElement : UExpression {
override fun evaluate(): Any? {
return "OK"
}
}
abstract class KotlinAbstractUExpression() : UExpression {}
@JvmDefaultWithoutCompatibility
class KotlinUBinaryExpressionWithType : KotlinAbstractUExpression(), KotlinEvaluatableUElement {}
fun box(): String {
val foo = KotlinUBinaryExpressionWithType()
return foo.evaluate() as String
}