Unit.VALUE -> Unit in testData
This commit is contained in:
@@ -20,7 +20,7 @@ fun foo(a: A) {
|
||||
a.gen() // unit can be inferred
|
||||
}
|
||||
else {
|
||||
Unit.VALUE
|
||||
Unit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,4 +29,4 @@ fun foo(a: A) {
|
||||
}
|
||||
|
||||
a.<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>gen<!>() // Shouldn't work: no info for inference
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user