Type annotations required on functions
This commit is contained in:
@@ -2,7 +2,7 @@ class SimpleClass() {
|
||||
fun foo() = 610
|
||||
}
|
||||
|
||||
fun test() {
|
||||
fun test() : Int {
|
||||
val c = SimpleClass()
|
||||
return c.foo()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user