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:
Yan Zhulanow
2016-11-03 01:21:23 +03:00
committed by Yan Zhulanow
parent 8bdb54929b
commit 328286ab14
2287 changed files with 51250 additions and 2 deletions
@@ -0,0 +1,32 @@
@kotlin.jvm.JvmSuppressWildcards
public interface A {
public abstract @org.jetbrains.annotations.NotNull method bar(): In
public abstract @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public abstract class B {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method bar(): In
public @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public final class In {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method make(p0: java.lang.Object): java.lang.String
}
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class OutPair {
private final field x: java.lang.Object
private final field y: java.lang.Object
public method <init>(p0: java.lang.Object, p1: java.lang.Object): void
public final method getX(): java.lang.Object
public final method getY(): java.lang.Object
}
@@ -0,0 +1,31 @@
public interface A {
public abstract @org.jetbrains.annotations.NotNull method bar(): In
public abstract @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public abstract class B {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method bar(): In
public @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public final class In {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method make(p0: java.lang.Object): java.lang.String
}
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class OutPair {
private final field x: java.lang.Object
private final field y: java.lang.Object
public method <init>(p0: java.lang.Object, p1: java.lang.Object): void
public final method getX(): java.lang.Object
public final method getY(): java.lang.Object
}
@@ -0,0 +1,21 @@
public final class Inv {
private final field x: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getX(): java.lang.Object
}
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: Inv): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): Inv
}
public final class Pair {
private final field x: java.lang.Object
private final field y: java.lang.Object
public method <init>(p0: java.lang.Object, p1: java.lang.Object): void
public final method getX(): java.lang.Object
public final method getY(): java.lang.Object
}