Type annotations required on functions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
fun f() {
|
||||
fun f() : String? {
|
||||
val x = StringBuilder();
|
||||
g(x);
|
||||
return x.toString();
|
||||
|
||||
Reference in New Issue
Block a user