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,12 @@
@java.lang.annotation.Retention
public annotation class A
public final class FunctionExpressionKt {
private final static @org.jetbrains.annotations.NotNull field foo1: kotlin.jvm.functions.Function1
private final static @org.jetbrains.annotations.NotNull field foo2: kotlin.jvm.functions.Function2
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method fooT1(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getFoo1(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getFoo2(): kotlin.jvm.functions.Function2
}
@@ -0,0 +1,13 @@
public final class FunctionExpressionWithThisReferenceKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method genericThisRef1(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method genericThisRef2(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getValGenericThisRef1(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getValGenericThisRef2(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getValThisRef1(p0: int): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getValThisRef2(p0: int): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getWithLabel1(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getWithLabel2(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method thisRef1(p0: int): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method thisRef2(p0: int): kotlin.jvm.functions.Function0
}
@@ -0,0 +1,13 @@
public final class FunctionLiteralExpressionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo1(@org.jetbrains.annotations.NotNull p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method foo2(p0: int): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method fooT1(p0: java.lang.Object): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method fooT2(p0: java.lang.Object): kotlin.jvm.functions.Function1
}
public final class t {
public final static field INSTANCE: t
private method <init>(): void
}