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
+23
@@ -0,0 +1,23 @@
|
||||
public final class Cls {
|
||||
private final @org.jetbrains.annotations.NotNull field buffer: java.lang.StringBuilder
|
||||
private final @org.jetbrains.annotations.NotNull field string: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getBuffer(): java.lang.StringBuilder
|
||||
public final @org.jetbrains.annotations.NotNull method getString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Obj {
|
||||
public final static field INSTANCE: Obj
|
||||
private final static @org.jetbrains.annotations.NotNull field buffer: java.lang.StringBuilder
|
||||
private final static @org.jetbrains.annotations.NotNull field string: java.lang.String
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getBuffer(): java.lang.StringBuilder
|
||||
public final @org.jetbrains.annotations.NotNull method getString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ObjectVsClassInitialization_kt5291Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method with(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Object
|
||||
}
|
||||
Reference in New Issue
Block a user