9e01a608b2
FIR vs FE1.0, and made file naming convention more consistent.
9 lines
275 B
Plaintext
Vendored
9 lines
275 B
Plaintext
Vendored
// "Replace with safe (?.) call" "true"
|
|
// WITH_RUNTIME
|
|
// ERROR: Type mismatch: inferred type is Int? but Int was expected
|
|
|
|
// Note: There should be no error in FIR but errors are not currently checked for FIR
|
|
class T {
|
|
fun foo(s: String?): Int = s?.length ?: <caret>
|
|
}
|