From ec6904afd15ba6f9aefafdfa8d5618aab25e334e Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Mon, 6 May 2019 17:32:51 +0200 Subject: [PATCH] Minor. Fix test data --- .../codegen/boxInline/smap/anonymous/lambdaOnInlineCallSite.kt | 1 + .../codegen/boxInline/smap/anonymous/objectOnInlineCallSite.kt | 1 + .../codegen/boxInline/smap/anonymous/objectOnInlineCallSite2.kt | 1 + compiler/testData/codegen/boxInline/smap/defaultFunction.kt | 1 + .../codegen/boxInline/smap/defaultLambda/inlinInDefault.kt | 1 + .../codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt | 1 + .../testData/codegen/boxInline/smap/defaultLambda/kt21827.kt | 1 + compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt | 1 + compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt | 1 + .../testData/codegen/boxInline/smap/defaultLambda/simple2.kt | 1 + 10 files changed, 10 insertions(+) diff --git a/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnInlineCallSite.kt b/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnInlineCallSite.kt index 755e696ca28..e2f10bcb355 100644 --- a/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnInlineCallSite.kt +++ b/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnInlineCallSite.kt @@ -1,4 +1,5 @@ // FILE: 1.kt + package builders inline fun call(crossinline init: () -> Unit) { diff --git a/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite.kt b/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite.kt index 7c18c87e28d..8f2143a5718 100644 --- a/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite.kt +++ b/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite.kt @@ -1,4 +1,5 @@ // FILE: 1.kt + package builders inline fun call(crossinline init: () -> Unit) { diff --git a/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite2.kt b/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite2.kt index 7d8a56e7508..5e91d05e299 100644 --- a/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite2.kt +++ b/compiler/testData/codegen/boxInline/smap/anonymous/objectOnInlineCallSite2.kt @@ -1,4 +1,5 @@ // FILE: 1.kt + package builders inline fun call(crossinline init: () -> Unit) { diff --git a/compiler/testData/codegen/boxInline/smap/defaultFunction.kt b/compiler/testData/codegen/boxInline/smap/defaultFunction.kt index 8694eaa6296..88f5377eb64 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultFunction.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultFunction.kt @@ -1,4 +1,5 @@ // FILE: 1.kt + package test inline fun inlineFun(capturedParam: String, noinline lambda: () -> String = { capturedParam }): String { return lambda() diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt index 7898aacba31..415a02aac70 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // SKIP_INLINE_CHECK_IN: lParams$default + package test //A lot of blank lines [Don't delete] //A lot of blank lines [Don't delete] diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt index f3696a2baf5..8c42c7e485a 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // SKIP_INLINE_CHECK_IN: lParams$default + package test //A lot of blank lines [Don't delete] //A lot of blank lines [Don't delete] diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt index 27194ae15e1..8df7e724dfb 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // SKIP_INLINE_CHECK_IN: lParams$default + package test //A lot of blank lines [Don't delete] //A lot of blank lines [Don't delete] diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt index 5986be25589..9d6b44ab1ae 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt @@ -1,6 +1,7 @@ // FILE: 1.kt // SKIP_INLINE_CHECK_IN: inlineFun$default + package test inline fun inlineFun(capturedParam: String, crossinline lambda: () -> String = { capturedParam }): String { return { diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt index 7588e45afde..ed54d728bde 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt @@ -1,6 +1,7 @@ // FILE: 1.kt // SKIP_INLINE_CHECK_IN: inlineFun$default + package test inline fun inlineFun(capturedParam: String, lambda: () -> String = { capturedParam }): String { return lambda() diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/simple2.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/simple2.kt index 26f7b89ad61..689c036e6e4 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/simple2.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/simple2.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // SKIP_INLINE_CHECK_IN: lParams$default + package test //A lot of blank lines [Don't delete] //A lot of blank lines [Don't delete]