Fix KotlinBuiltIns.isUnit
It didn't check type's nullability
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo() {}
|
||||
|
||||
val x: Unit? = <!NO_ELSE_IN_WHEN!>when<!> ("A") {
|
||||
"B" -> foo()
|
||||
}
|
||||
Reference in New Issue
Block a user