From 70be1c10243469933162f6d7c2dad901ec1f0085 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Mon, 11 Mar 2019 17:14:36 +0300 Subject: [PATCH] FIR: Update testData, now it resolves due to call resolver --- .../fir/resolve/testData/resolve/stdlib/functionX.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/fir/resolve/testData/resolve/stdlib/functionX.txt b/compiler/fir/resolve/testData/resolve/stdlib/functionX.txt index 9dfdb35b118..43ddafa7a0c 100644 --- a/compiler/fir/resolve/testData/resolve/stdlib/functionX.txt +++ b/compiler/fir/resolve/testData/resolve/stdlib/functionX.txt @@ -1,14 +1,14 @@ FILE: functionX.kt - public final property x(val): R|kotlin/jvm/functions/Function0| = function R|error: Not supported: FirImplicitTypeRefImpl|.(): R|error: Not supported: FirImplicitTypeRefImpl| { - return { + public final val x: R|kotlin/jvm/functions/Function0| = fun R|kotlin/jvm/functions/Function0|.(): R|kotlin/jvm/functions/Function0| { + ^ { Int(42) } } public get(): R|kotlin/jvm/functions/Function0| - public final property y(val): R|kotlin/Function1| = function R|error: Not supported: FirImplicitTypeRefImpl|.(): R|error: Not supported: FirImplicitTypeRefImpl| { - return { + public final val y: R|kotlin/Function1| = fun R|kotlin/Function1|.(): R|kotlin/Function1| { + ^ { # } @@ -18,7 +18,7 @@ FILE: functionX.kt public final class MyFunction : R|kotlin/Function2| { public constructor(): super() - public final override function invoke(p1: R|kotlin/Int|, p2: R|kotlin/String|): R|kotlin/Unit| { + public final override fun invoke(p1: R|kotlin/Int|, p2: R|kotlin/String|): R|kotlin/Unit| { } }