Skip to content

Commit 7d542ed

Browse files
committed
Fix UL classes test for inline classes support
1 parent 44f19e1 commit 7d542ed

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
public final class UInt /* UInt*/ {
2+
}
3+
4+
public enum Foo /* Foo*/ {
5+
;
6+
7+
public final int getX();
8+
9+
}
10+
11+
public final class InlinedDelegate /* InlinedDelegate*/<T> {
12+
@null()
13+
public final T getNode();
14+
15+
}

compiler/testData/asJava/ultraLightClasses/inlineClasses.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
/** should load cls */
21
inline class UInt(private val value: Int) { }
32

4-
/** should load cls */
53
inline enum class Foo(val x: Int) {
64
A(0), B(1);
75

86
fun example() { }
97
}
108

11-
/** should load cls */
129
inline class InlinedDelegate<T>(var node: T) {
1310
operator fun setValue(thisRef: A, property: KProperty<*>, value: T) {
1411
if (node !== value) {

0 commit comments

Comments
 (0)