Fix UL classes test for inline classes support
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
public final class UInt /* UInt*/ {
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum Foo /* Foo*/ {
|
||||||
|
;
|
||||||
|
|
||||||
|
public final int getX();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class InlinedDelegate /* InlinedDelegate*/<T> {
|
||||||
|
@null()
|
||||||
|
public final T getNode();
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,14 +1,11 @@
|
|||||||
/** should load cls */
|
|
||||||
inline class UInt(private val value: Int) { }
|
inline class UInt(private val value: Int) { }
|
||||||
|
|
||||||
/** should load cls */
|
|
||||||
inline enum class Foo(val x: Int) {
|
inline enum class Foo(val x: Int) {
|
||||||
A(0), B(1);
|
A(0), B(1);
|
||||||
|
|
||||||
fun example() { }
|
fun example() { }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** should load cls */
|
|
||||||
inline class InlinedDelegate<T>(var node: T) {
|
inline class InlinedDelegate<T>(var node: T) {
|
||||||
operator fun setValue(thisRef: A, property: KProperty<*>, value: T) {
|
operator fun setValue(thisRef: A, property: KProperty<*>, value: T) {
|
||||||
if (node !== value) {
|
if (node !== value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user