Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,2 +1,12 @@
|
||||
Resolve target: value-parameter val p: kotlin.String? smart-cast to kotlin.String
|
||||
Skipped statements:
|
||||
----------------------------------------------
|
||||
fun foo(p: String?, p1: Any?) {
|
||||
if (p1 == null) return
|
||||
|
||||
fun localError(): Nothing = throw Exception()
|
||||
|
||||
if (p == null) {
|
||||
localError()
|
||||
}
|
||||
<caret>p.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user