Changes on code review

This commit is contained in:
Valentin Kipyatkov
2015-07-31 21:46:03 +03:00
parent 397e48a11d
commit c2c6ba59fd
5 changed files with 19 additions and 6 deletions
@@ -5,6 +5,14 @@ fun foo<T>(<caret>t: T): T {
return t
}
fun bar(t: String) {
print(t)
}
fun usage() {
foo(t = ":)")
}
fun falseUsage() {
bar(t = "")
}
@@ -1,3 +1,3 @@
Named argument (9: 9) foo(t = ":)")
Named argument (13: 9) foo(t = ":)")
Value read (4: 13) println(t)
Value read (5: 12) return t