[Spec tests] Small clean-up CheckerTestUtil and around it

This commit is contained in:
Victor Petukhov
2020-03-27 16:55:06 +03:00
parent 90d1cdf2e1
commit a29385e758
8 changed files with 110 additions and 167 deletions
@@ -92,7 +92,7 @@ class Case3() {
fun String?.orEmpty(): String = "my local inner extension for $this"
fun String?.funWithTrailingLambda( x : Any? = null, body : ()-> String = {""} ): String = body()
<!DEBUG_INFO_CALL("fqName: sentence3.Case3.case3.innerFirst.s; typeCall: typeCall is unknown")!>s<!>?.<!DEBUG_INFO_CALL("fqName: sentence3.Case3.case3.innerFirst.orEmpty; typeCall: extension function")!>orEmpty()<!>
<!DEBUG_INFO_CALL("fqName: sentence3.Case3.case3.innerFirst.s; typeCall: other")!>s<!>?.<!DEBUG_INFO_CALL("fqName: sentence3.Case3.case3.innerFirst.orEmpty; typeCall: extension function")!>orEmpty()<!>
//trailing lambda
s.<!DEBUG_INFO_CALL("fqName: sentence3.Case3.case3.innerFirst.funWithTrailingLambda; typeCall: extension function")!>funWithTrailingLambda { "ss" }<!>
s.<!DEBUG_INFO_CALL("fqName: sentence3.Case3.case3.innerFirst.funWithTrailingLambda; typeCall: extension function")!>funWithTrailingLambda (x= 1) { "ss" }<!>