diff --git a/compiler/fir/resolve/testData/resolve/problems/noSmartcast.txt b/compiler/fir/resolve/testData/resolve/problems/noSmartcast.txt index fd0dffff06f..a46a2637e2a 100644 --- a/compiler/fir/resolve/testData/resolve/problems/noSmartcast.txt +++ b/compiler/fir/resolve/testData/resolve/problems/noSmartcast.txt @@ -8,7 +8,7 @@ FILE: noSmartcast.kt } public final fun test(a: R|kotlin/Any|): R|kotlin/Unit| { when () { - R|/takeA|(when (lval : R|A?| = (R|/a| as R|A?|)) { + R|/takeA|(when (lval : R|A?| = (R|/a| as? R|A|)) { ==($subj$, Null(null)) -> { ^test Unit } @@ -17,7 +17,7 @@ FILE: noSmartcast.kt } } ) -> { - R|/a|.R|/A.foo|() + R|/a|.#() } }