Type annotations required on functions
This commit is contained in:
@@ -6,7 +6,7 @@ class Outer() {
|
||||
public val x = Inner()
|
||||
}
|
||||
|
||||
fun box() {
|
||||
fun box() : String {
|
||||
val o = Outer()
|
||||
return if (o === o.x.outer) "OK" else "fail"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user