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
+3
@@ -0,0 +1,3 @@
|
||||
public final class CastFunctionToExtensionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: A): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: A, p1: int): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ExtensionInvokeOnExprKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): A
|
||||
public final static @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: B): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
public final class invoke/InvokeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: invoke.Method2, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
|
||||
public final static method test1(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1, p1: int): int
|
||||
public final static method test2(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1, p1: int): int
|
||||
public final static method test3(@org.jetbrains.annotations.NotNull p0: invoke.Method, p1: int): int
|
||||
public final static method test4(@org.jetbrains.annotations.NotNull p0: invoke.Method, p1: int): int
|
||||
public final static @org.jetbrains.annotations.NotNull method test5(@org.jetbrains.annotations.NotNull p0: invoke.Method2, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class invoke/Method {
|
||||
public method <init>(): void
|
||||
public final method invoke(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class invoke/Method2 {
|
||||
public method <init>(): void
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(p0: int): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InvokeOnExprByConventionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): A
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class MainKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class Bad {
|
||||
private final @org.jetbrains.annotations.NotNull field a: kotlin.jvm.functions.Function0
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
public final @org.jetbrains.annotations.NotNull method getA(): kotlin.jvm.functions.Function0
|
||||
public final method invoke(): int
|
||||
public final method test(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3189Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public final class Cached {
|
||||
private final field generate: kotlin.jvm.functions.Function1
|
||||
private final @org.jetbrains.annotations.NotNull field store: java.util.HashMap
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||
public final @org.jetbrains.annotations.NotNull method getStore(): java.util.HashMap
|
||||
public method invoke(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3190Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getOrPut(@org.jetbrains.annotations.NotNull p0: java.util.Map, p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function0): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt3297Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method or(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): java.lang.Object
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method get(p0: int): A
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3450getAndInvokeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method x(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class Kt3631invokeOnStringKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
public class A {
|
||||
public method <init>(): void
|
||||
public final method invoke(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): int
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final method invoke(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): int
|
||||
}
|
||||
|
||||
|
||||
public class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public class D {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3772Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getAttr(@org.jetbrains.annotations.NotNull p0: C): A
|
||||
public final static @org.jetbrains.annotations.NotNull method getAttr(@org.jetbrains.annotations.NotNull p0: D): B
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method foo(): int
|
||||
public final method invoke(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3821invokeOnThisKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final method foo(): boolean
|
||||
public @org.jetbrains.annotations.NotNull method invoke(): java.lang.Boolean
|
||||
public synthetic method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3822invokeOnThisKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user