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
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateConstantCompareKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateFalseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateFalseVarKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateFalseVarChainKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class NegateObjectCompKt {
|
||||
private final static @org.jetbrains.annotations.Nullable field p: java.lang.Integer
|
||||
private final static @org.jetbrains.annotations.Nullable field z: java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getP(): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method getZ(): java.lang.Integer
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class NegateObjectComp2Kt {
|
||||
private final static @org.jetbrains.annotations.Nullable field p: java.lang.Integer
|
||||
private final static @org.jetbrains.annotations.Nullable field z: java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getP(): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method getZ(): java.lang.Integer
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateTrueKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateTrueVarKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class NoOptimizationKt {
|
||||
private static field holder: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getHolder(): int
|
||||
public final static @org.jetbrains.annotations.NotNull method not(@org.jetbrains.annotations.NotNull p0: A): A
|
||||
public final static method not(@org.jetbrains.annotations.NotNull p0: B): boolean
|
||||
public final static method setHolder(p0: int): void
|
||||
}
|
||||
Reference in New Issue
Block a user