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
@@ -0,0 +1,10 @@
|
||||
public final class C {
|
||||
private final field p: boolean
|
||||
public method <init>(p0: boolean): void
|
||||
public final method getP(): boolean
|
||||
}
|
||||
|
||||
|
||||
public final class CallPropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public enum class A {
|
||||
public final static field X1: A
|
||||
public final static field X2: A
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): A
|
||||
public static method values(): A[]
|
||||
}
|
||||
|
||||
|
||||
public final class EmptyWhenKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
public enum class BigEnum {
|
||||
public final static field ITEM10: BigEnum
|
||||
public final static field ITEM11: BigEnum
|
||||
public final static field ITEM12: BigEnum
|
||||
public final static field ITEM13: BigEnum
|
||||
public final static field ITEM14: BigEnum
|
||||
public final static field ITEM15: BigEnum
|
||||
public final static field ITEM16: BigEnum
|
||||
public final static field ITEM17: BigEnum
|
||||
public final static field ITEM18: BigEnum
|
||||
public final static field ITEM19: BigEnum
|
||||
public final static field ITEM1: BigEnum
|
||||
public final static field ITEM20: BigEnum
|
||||
public final static field ITEM2: BigEnum
|
||||
public final static field ITEM3: BigEnum
|
||||
public final static field ITEM4: BigEnum
|
||||
public final static field ITEM5: BigEnum
|
||||
public final static field ITEM6: BigEnum
|
||||
public final static field ITEM7: BigEnum
|
||||
public final static field ITEM8: BigEnum
|
||||
public final static field ITEM9: BigEnum
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): BigEnum
|
||||
public static method values(): BigEnum[]
|
||||
}
|
||||
|
||||
|
||||
public final class BigEnumKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar1(@org.jetbrains.annotations.NotNull p0: BigEnum): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method bar2(@org.jetbrains.annotations.NotNull p0: BigEnum): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
public final class DuplicatingItemsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
public final class A {
|
||||
public final static field Companion: A.Companion
|
||||
inner class A/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/Companion {
|
||||
inner class A/Companion
|
||||
inner class A/Companion/Season
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public static enum class A/Companion/Season {
|
||||
public final static field AUTUMN: A.Companion.Season
|
||||
public final static field SPRING: A.Companion.Season
|
||||
public final static field SUMMER: A.Companion.Season
|
||||
public final static field WINTER: A.Companion.Season
|
||||
inner class A/Companion
|
||||
inner class A/Companion/Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): A.Companion.Season
|
||||
public static method values(): A.Companion.Season[]
|
||||
}
|
||||
|
||||
|
||||
public final class EnumInsideClassObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: A.Companion.Season): java.lang.String
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public final class ExpressionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar1(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method bar2(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
public final class FunctionLiteralInTopLevelKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: Season, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method bar1(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method bar2(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
private final method bar3(p0: Season, p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ManyWhensWithinClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public final class NonConstantEnumKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar(): Season
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): Season
|
||||
}
|
||||
|
||||
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public final class NullabilityKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo1(@org.jetbrains.annotations.Nullable p0: Season): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo2(@org.jetbrains.annotations.Nullable p0: Season): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public enum class E {
|
||||
public final static field A: E
|
||||
public final static field B: E
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): E
|
||||
public static method values(): E[]
|
||||
}
|
||||
|
||||
|
||||
public final class NullableEnumKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.Nullable p0: E): java.lang.String
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
|
||||
|
||||
public final class SubjectAnyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.String
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public enum class Season {
|
||||
public final static field AUTUMN: Season
|
||||
public final static field SPRING: Season
|
||||
public final static field SUMMER: Season
|
||||
public final static field WINTER: Season
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Season
|
||||
public static method values(): Season[]
|
||||
}
|
||||
|
||||
|
||||
public final class WithoutElseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar1(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method bar2(@org.jetbrains.annotations.NotNull p0: Season): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class ExceptionOnNoMatchKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method isZero(p0: int): boolean
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class ExhaustiveBooleanKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public enum class Color {
|
||||
public final static field BLUE: Color
|
||||
public final static field GREEN: Color
|
||||
public final static field RED: Color
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Color
|
||||
public static method values(): Color[]
|
||||
}
|
||||
|
||||
|
||||
public final class ExhaustiveBreakContinueKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: Color[]): Color
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public enum class A {
|
||||
public final static field V: A
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): A
|
||||
public static method values(): A[]
|
||||
}
|
||||
|
||||
|
||||
public final class ExhaustiveWhenInitializationKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public enum class A {
|
||||
public final static field V: A
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): A
|
||||
public static method values(): A[]
|
||||
}
|
||||
|
||||
|
||||
public final class ExhaustiveWhenReturnKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class ImplicitExhaustiveAndReturnKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method test(p0: int): java.lang.String
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class IntegralWhenWithNoInlinedConstantsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo1(p0: int): boolean
|
||||
public final static method foo2(p0: int): boolean
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class IsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method typeName(@org.jetbrains.annotations.Nullable p0: java.lang.Object): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt2457Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: int): int
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt2466Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: boolean): int
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt5307Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
private final @org.jetbrains.annotations.NotNull field items: java.util.Collection
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.util.Collection): void
|
||||
public final @org.jetbrains.annotations.NotNull method getItems(): java.util.Collection
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method bar(): B
|
||||
public final method foo(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt5448Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class LongInRangeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class LongR {
|
||||
public method <init>(): void
|
||||
public final method contains(p0: long): boolean
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class MatchNotNullAgainstNullableKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Integer): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class MultipleEntriesKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public enum class En {
|
||||
public final static field A: En
|
||||
public final static field B: En
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): En
|
||||
public static method values(): En[]
|
||||
}
|
||||
|
||||
|
||||
public final class NoElseExhaustiveKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public enum class En {
|
||||
public final static field A: En
|
||||
public final static field B: En
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): En
|
||||
public static method values(): En[]
|
||||
}
|
||||
|
||||
|
||||
public final class NoElseExhaustiveStatementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public enum class En {
|
||||
public final static field A: En
|
||||
public final static field B: En
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): En
|
||||
public static method values(): En[]
|
||||
}
|
||||
|
||||
|
||||
public final class NoElseExhaustiveUnitExpectedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class NoElseInStatementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class NoElseNoMatchKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class NullableWhenKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method f(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): int
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class RangeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method assertDigit(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method isDigit(p0: int): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
public abstract class A {
|
||||
inner class A/B
|
||||
inner class A/C
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class A/B {
|
||||
public final static field INSTANCE: A.B
|
||||
inner class A/B
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/C {
|
||||
inner class A/C
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class SealedWhenInitializationKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class DuplicatingItemsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
public final class DuplicatingItemsSameHashCodeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class ExpressionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class NullabilityKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo1(@org.jetbrains.annotations.Nullable p0: java.lang.String): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo2(@org.jetbrains.annotations.Nullable p0: java.lang.String): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class SameHashCodeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class StatementKt {
|
||||
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.String): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo2(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class SwitchOptimizationDenseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method dense(p0: int): int
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class SwitchOptimizationMultipleConditionsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: int): int
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class SwitchOptimizationSparseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method sparse(p0: int): int
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class SwitchOptimizationStatementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method exhaustive(p0: int): int
|
||||
public final static method nonExhaustive(p0: int): int
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public final class SwitchOptimizationTypesKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method byteFoo(p0: byte): int
|
||||
public final static method charFoo(p0: char): int
|
||||
public final static method intFoo(p0: int): int
|
||||
public final static method shortFoo(p0: short): int
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class SwitchOptimizationUnorderedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: int): int
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class TypeDisjunctionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.String
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class WhenArgumentIsEvaluatedOnlyOnceKt {
|
||||
private static field x: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getX(): int
|
||||
public final static method inc(): int
|
||||
public final static method setX(p0: int): void
|
||||
}
|
||||
Reference in New Issue
Block a user