Fix UL classes test for inline classes support

This commit is contained in:
Igor Yakovlev
2019-06-06 23:48:37 +03:00
parent 44f19e1225
commit 7d542eda00
2 changed files with 15 additions and 3 deletions

View File

@@ -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();
}

View File

@@ -1,14 +1,11 @@
/** should load cls */
inline class UInt(private val value: Int) { }
/** should load cls */
inline enum class Foo(val x: Int) {
A(0), B(1);
fun example() { }
}
/** should load cls */
inline class InlinedDelegate<T>(var node: T) {
operator fun setValue(thisRef: A, property: KProperty<*>, value: T) {
if (node !== value) {