3d8d92c7d3
- test data files renamed from *.jet to *.kt
12 lines
242 B
Kotlin
Vendored
12 lines
242 B
Kotlin
Vendored
// KT-41 Make functions with errors in returning statement return ERROR type and not Nothing
|
|
|
|
package kt41
|
|
|
|
fun aaa() =
|
|
6 <!UNRESOLVED_REFERENCE!>foo<!> 1
|
|
|
|
fun bbb() {
|
|
aaa()
|
|
<!UNUSED_EXPRESSION!>1<!> // Stupid error: unreachable code
|
|
}
|