From c4a115720e1273c0e65c41ff0728485ad078dc54 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Thu, 28 Nov 2019 18:00:18 +0300 Subject: [PATCH] [FIR-TEST] Update testdata It was forgotten in 61c17d91 --- .../fir/resolve/testData/resolve/problems/noSmartcast.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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|.#() } }