From 816906c7b7f60210489fb6f89656f8598ef6ba42 Mon Sep 17 00:00:00 2001 From: Stanislav Ruban Date: Wed, 26 Jul 2023 19:42:52 +0300 Subject: [PATCH] fixup! Remove integer literals from InsideNestedBuilderInferenceLambda.kt --- .../InsideNestedBuilderInferenceLambda.fir.kt | 4 ++-- .../InsideNestedBuilderInferenceLambda.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.fir.kt b/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.fir.kt index 59ca6450e75..e230b4e57b6 100644 --- a/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.fir.kt +++ b/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.fir.kt @@ -40,7 +40,7 @@ fun testYield() { val buildee = build { nestedBuild { yield(arg) - nestedYield(42) + nestedYield(Any()) } } checkExactType<Buildee>(buildee) @@ -52,7 +52,7 @@ fun testMaterialize() { val buildee = build { nestedBuild { consume(materialize()) - nestedYield(42) + nestedYield(Any()) } } checkExactType<Buildee>(buildee) diff --git a/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.kt b/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.kt index 0d35e6dd097..a7a6ce7f3b1 100644 --- a/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.kt +++ b/compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.kt @@ -40,7 +40,7 @@ fun testYield() { val buildee = build { nestedBuild { yield(arg) - nestedYield(42) + nestedYield(Any()) } } checkExactType>(buildee) @@ -52,7 +52,7 @@ fun testMaterialize() { val buildee = build { nestedBuild { consume(materialize()) - nestedYield(42) + nestedYield(Any()) } } checkExactType>(buildee)