Skip to content

Commit dabe604

Browse files
mglukhikhSpace Team
authored andcommitted
K2: reproduce KT-80936
(cherry picked from commit 91e5acd)
1 parent b434e3d commit dabe604

File tree

14 files changed

+302
-0
lines changed

14 files changed

+302
-0
lines changed

analysis/low-level-api-fir/tests-gen/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLDiagnosticsFe10TestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analysis/low-level-api-fir/tests-gen/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLPartialDiagnosticsFe10TestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analysis/low-level-api-fir/tests-gen/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLReversedDiagnosticsFe10TestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsWithLatestLanguageVersionTestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/PhasedJvmDiagnosticLightTreeTestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/PhasedJvmDiagnosticPsiTestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// RUN_PIPELINE_TILL: FRONTEND
2+
// ISSUE: KT-80936
3+
4+
// FILE: internal.kt
5+
package internal
6+
7+
@PublishedApi
8+
internal fun interface Foo {
9+
suspend fun close()
10+
}
11+
12+
// FILE: use.kt
13+
import internal.Foo
14+
15+
suspend inline fun use() {
16+
val foo = <!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>Foo<!> {}
17+
}
18+
19+
/* GENERATED_FIR_TAGS: funInterface, functionDeclaration, inline, interfaceDeclaration, lambdaLiteral, localProperty,
20+
propertyDeclaration, suspend */
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// RUN_PIPELINE_TILL: FRONTEND
2+
// ISSUE: KT-80936
3+
4+
// FILE: internal.kt
5+
package internal
6+
7+
@PublishedApi
8+
internal fun interface Foo {
9+
suspend fun close()
10+
}
11+
12+
// FILE: use.kt
13+
import internal.Foo
14+
15+
suspend inline fun use() {
16+
val foo = Foo {}
17+
}
18+
19+
/* GENERATED_FIR_TAGS: funInterface, functionDeclaration, inline, interfaceDeclaration, lambdaLiteral, localProperty,
20+
propertyDeclaration, suspend */

compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/DiagnosticTestGenerated.java

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6TypeScriptExportTestGenerated.java

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)