Use box tests to check if the light analysis mode (without analyzing bodies when possible) produces the same result as the complete analysis. See also the next commit in which light analysis mode is applied. Note that no tests were changed.
This commit is contained in:
committed by
Yan Zhulanow
parent
8bdb54929b
commit
328286ab14
+20
@@ -0,0 +1,20 @@
|
||||
public final class ConstructorAndClassObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Test {
|
||||
public final static field Companion: Test.Companion
|
||||
private final @org.jetbrains.annotations.NotNull field prop$1: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
inner class Test/Companion
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class Test/Companion {
|
||||
inner class Test/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class DelegatesKt {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final static @org.jetbrains.annotations.NotNull field s$delegate$1: TestDelegate
|
||||
private final static @org.jetbrains.annotations.NotNull field s$delegate: TestDelegate
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getS(@org.jetbrains.annotations.NotNull p0: A): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getS(@org.jetbrains.annotations.NotNull p0: B): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class TestDelegate {
|
||||
private final field initializer: kotlin.jvm.functions.Function0
|
||||
private field value: java.lang.Object
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
public @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.Object
|
||||
public method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.Object): void
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class GenericPropertyWithItselfKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class MPair {
|
||||
private final field first: java.lang.Object
|
||||
public method <init>(p0: java.lang.Object): void
|
||||
public method equals(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
|
||||
public final method getFirst(): java.lang.Object
|
||||
}
|
||||
Reference in New Issue
Block a user