Partial body resolve: processing of standard "error" function

This commit is contained in:
Valentin Kipyatkov
2014-11-19 17:26:38 +03:00
parent ca8d45259b
commit 992cdd9fe2
7 changed files with 34 additions and 1 deletions
@@ -0,0 +1,6 @@
fun foo(p: Any) {
if (p !is String) {
error("Not String")
}
println(<caret>p.size)
}