From 66bed85176a5ecc1c5f446cd3f5b2d1a0f086204 Mon Sep 17 00:00:00 2001 From: Alexander Podkhalyuzin Date: Tue, 20 Aug 2019 14:57:26 +0300 Subject: [PATCH] Fixed testdata for new inference --- idea/testData/inspections/cleanup/cleanup.kt | 2 +- idea/testData/inspections/cleanup/cleanup.kt.after | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/idea/testData/inspections/cleanup/cleanup.kt b/idea/testData/inspections/cleanup/cleanup.kt index ec07a892d37..be2521e970b 100644 --- a/idea/testData/inspections/cleanup/cleanup.kt +++ b/idea/testData/inspections/cleanup/cleanup.kt @@ -75,7 +75,7 @@ fun yield(yield: Int) { val foo = yield + yield val foo2 = yield - bar(yield = 5) + // bar(yield = 5) //this is different in old and new inference, should be tested in compiler yield(4) yield {} diff --git a/idea/testData/inspections/cleanup/cleanup.kt.after b/idea/testData/inspections/cleanup/cleanup.kt.after index 182c9ab34ed..293e00d7a58 100644 --- a/idea/testData/inspections/cleanup/cleanup.kt.after +++ b/idea/testData/inspections/cleanup/cleanup.kt.after @@ -74,7 +74,7 @@ fun yield(yield: Int) { val foo = `yield` + `yield` val foo2 = `yield` - bar(`yield` = 5) + // bar(yield = 5) //this is different in old and new inference, should be tested in compiler yield(4) yield() {}