Partial body resolve: processing of standard "error" function
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Resolve target: val kotlin.String.size: kotlin.Int
|
||||
Resolve target: value-parameter val p: kotlin.Any smart-casted to kotlin.String
|
||||
Skipped statements:
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolve target: value-parameter val p: kotlin.Any smart-casted to kotlin.String
|
||||
Skipped statements:
|
||||
@@ -0,0 +1,6 @@
|
||||
fun foo(p: Any) {
|
||||
if (p !is String) {
|
||||
kotlin.error("Not String")
|
||||
}
|
||||
println(<caret>p.size)
|
||||
}
|
||||
Reference in New Issue
Block a user