'checkType' for qualified properties as function arguments

This commit is contained in:
Svetlana Isakova
2013-04-03 19:29:44 +04:00
parent bab6fd570d
commit d843608298
3 changed files with 33 additions and 4 deletions
@@ -0,0 +1,9 @@
package a
fun test(c: C) {
foo(<!TYPE_MISMATCH!>c.b<!>)
}
fun foo(s: String) = s
class C(val b: Int) {}