-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
Make sure that nothing will break after I fix KT-71817
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// WITH_KOTLIN_JVM_ANNOTATIONS | ||
// LANGUAGE:+DirectJavaActualization | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
expect enum class Ok { | ||
ENTRY; | ||
fun values() // Not to be confused with static values | ||
} | ||
|
||
expect enum class NoAnnotation { | ||
ENTRY; | ||
fun <!KOTLIN_ACTUAL_ANNOTATION_MISSING{JVM}!>values<!>() // Not to be confused with static values | ||
} | ||
|
||
<!JAVA_DIRECT_ACTUAL_WITHOUT_EXPECT{JVM}!>expect<!> enum class ExcessiveAnnotation { | ||
ENTRY; | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: Ok.java | ||
@kotlin.annotations.jvm.KotlinActual public enum Ok { | ||
ENTRY; | ||
@kotlin.annotations.jvm.KotlinActual public void values(){} // Not to be confused with static values | ||
} | ||
|
||
// FILE: NoAnnotation.java | ||
@kotlin.annotations.jvm.KotlinActual public enum NoAnnotation { | ||
ENTRY; | ||
public void values(){} // Not to be confused with static values | ||
} | ||
|
||
// FILE: ExcessiveAnnotation.java | ||
@kotlin.annotations.jvm.KotlinActual public enum ExcessiveAnnotation { | ||
ENTRY; | ||
@kotlin.annotations.jvm.KotlinActual public void values(){} // Not to be confused with static values | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// WITH_KOTLIN_JVM_ANNOTATIONS | ||
// LANGUAGE:+DirectJavaActualization | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
expect enum class <!IMPLICIT_JVM_ACTUALIZATION{JVM}!>Ok<!> { | ||
ENTRY; | ||
fun values() // Not to be confused with static values | ||
} | ||
|
||
expect enum class <!IMPLICIT_JVM_ACTUALIZATION{JVM}!>NoAnnotation<!> { | ||
ENTRY; | ||
fun values() // Not to be confused with static values | ||
} | ||
|
||
expect enum class <!IMPLICIT_JVM_ACTUALIZATION{JVM}!>ExcessiveAnnotation<!> { | ||
ENTRY; | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: Ok.java | ||
@kotlin.annotations.jvm.KotlinActual public enum Ok { | ||
ENTRY; | ||
@kotlin.annotations.jvm.KotlinActual public void values(){} // Not to be confused with static values | ||
} | ||
|
||
// FILE: NoAnnotation.java | ||
@kotlin.annotations.jvm.KotlinActual public enum NoAnnotation { | ||
ENTRY; | ||
public void values(){} // Not to be confused with static values | ||
} | ||
|
||
// FILE: ExcessiveAnnotation.java | ||
@kotlin.annotations.jvm.KotlinActual public enum ExcessiveAnnotation { | ||
ENTRY; | ||
@kotlin.annotations.jvm.KotlinActual public void values(){} // Not to be confused with static values | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// WITH_KOTLIN_JVM_ANNOTATIONS | ||
// LANGUAGE:+DirectJavaActualization | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
expect enum class Ok { | ||
ENTRY; | ||
fun values() // Not to be confused with static values | ||
} | ||
|
||
expect enum class NoAnnotation { | ||
ENTRY; | ||
fun values() // Not to be confused with static values | ||
} | ||
|
||
expect enum class ExcessiveAnnotation { | ||
ENTRY; | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: Ok.java | ||
@kotlin.annotations.jvm.KotlinActual public enum Ok { | ||
ENTRY; | ||
@kotlin.annotations.jvm.KotlinActual public void values(){} // Not to be confused with static values | ||
} | ||
|
||
// FILE: NoAnnotation.java | ||
@kotlin.annotations.jvm.KotlinActual public enum NoAnnotation { | ||
ENTRY; | ||
public void values(){} // Not to be confused with static values | ||
} | ||
|
||
// FILE: ExcessiveAnnotation.java | ||
@kotlin.annotations.jvm.KotlinActual public enum ExcessiveAnnotation { | ||
ENTRY; | ||
@kotlin.annotations.jvm.KotlinActual public void values(){} // Not to be confused with static values | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.