Typecheck call arguments if callee is resolved to variable

#KT-11579 Fixed
This commit is contained in:
Pavel V. Talanov
2016-04-04 15:45:18 +03:00
parent e46d713bba
commit 3f62b6c495
6 changed files with 34 additions and 4 deletions
@@ -0,0 +1,4 @@
fun f() {
val g = 3
<error>g</error>(object : Any() {})
}