Switch kotlin version to 1.7
* Change 1.6 to 1.7 constants * Fix SAFE_CALL_WILL_CHANGE_NULLABILITY for testData * Change EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_WARNING to EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERROR * Change NON_EXHAUSTIVE_WHEN_STATEMENT to NO_ELSE_IN_WHEN * Fix testData for SafeCallsAreAlwaysNullable * Change T -> T & Any in test dumps * Change INVALID_CHARACTERS_NATIVE_WARNING -> INVALID_CHARACTERS_NATIVE_ERROR * TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_WARNING -> TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_ERROR
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// CHECK_BYTECODE_LISTING
|
||||
// IGNORE_BACKEND: JS, JS_IR, WASM, NATIVE
|
||||
// TODO: Fir2Ir generates overrides as finals.
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
@JvmInline
|
||||
value class Inlined(val value: Int)
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
@kotlin.Metadata
|
||||
public interface A {
|
||||
// source: 'overrideReturnNothing.kt'
|
||||
public abstract @org.jetbrains.annotations.Nullable method foo-wSRmS7I(): Inlined
|
||||
public abstract method foo2-yXoPhBc(): int
|
||||
public abstract @org.jetbrains.annotations.Nullable method getProperty-wSRmS7I(): Inlined
|
||||
public abstract method getProperty2-yXoPhBc(): int
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class B {
|
||||
// source: 'overrideReturnNothing.kt'
|
||||
private final @org.jetbrains.annotations.Nullable field property: java.lang.Void
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.Nullable method foo(): java.lang.Void
|
||||
public synthetic bridge method foo-wSRmS7I(): Inlined
|
||||
public @org.jetbrains.annotations.NotNull method foo2(): java.lang.Void
|
||||
public synthetic bridge method foo2-yXoPhBc(): int
|
||||
public @org.jetbrains.annotations.Nullable method getProperty(): java.lang.Void
|
||||
public synthetic bridge method getProperty-wSRmS7I(): Inlined
|
||||
public @org.jetbrains.annotations.NotNull method getProperty2(): java.lang.Void
|
||||
public synthetic bridge method getProperty2-yXoPhBc(): int
|
||||
}
|
||||
|
||||
@kotlin.jvm.JvmInline
|
||||
@kotlin.Metadata
|
||||
public final class Inlined {
|
||||
// source: 'overrideReturnNothing.kt'
|
||||
private final field value: int
|
||||
private synthetic method <init>(p0: int): void
|
||||
public synthetic final static method box-impl(p0: int): Inlined
|
||||
public static method constructor-impl(p0: int): int
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public static method equals-impl(p0: int, p1: java.lang.Object): boolean
|
||||
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||
public final method getValue(): int
|
||||
public method hashCode(): int
|
||||
public static method hashCode-impl(p0: int): int
|
||||
public method toString(): java.lang.String
|
||||
public static method toString-impl(p0: int): java.lang.String
|
||||
public synthetic final method unbox-impl(): int
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class OverrideReturnNothingKt {
|
||||
// source: 'overrideReturnNothing.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user