Remove LANGUAGE_VERSION from non-coroutine codegen tests
Most of these tests used this directive as a way to opt in to a new language feature, and most of those features are already stable for a long time, so no opt-in is needed. Some other tests used the directive to opt out from a language feature, replace those by the `LANGUAGE` directive. One test used the directive to test behavior that actually depended on the API version; use `API_VERSION` directive there instead.
This commit is contained in:
+1
-3
@@ -1,5 +1,3 @@
|
||||
// LANGUAGE_VERSION: 1.3
|
||||
|
||||
open class TestProtectedCompanionInClass {
|
||||
protected companion object
|
||||
}
|
||||
@@ -14,4 +12,4 @@ class TestPrivateCompanionInClass {
|
||||
|
||||
interface TestPrivateCompanionInInterface {
|
||||
private companion object
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
|
||||
|
||||
class TestPrivateCompanion {
|
||||
private companion object Test
|
||||
}
|
||||
|
||||
open class TestProtectedCompanion {
|
||||
protected companion object Test
|
||||
}
|
||||
|
||||
class TestInternalCompanion {
|
||||
internal companion object Test
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
@kotlin.Metadata
|
||||
public final class TestInternalCompanion$Test {
|
||||
inner class TestInternalCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestInternalCompanion {
|
||||
public final static field Test: TestInternalCompanion$Test
|
||||
inner class TestInternalCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class TestPrivateCompanion$Test {
|
||||
inner class TestPrivateCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestPrivateCompanion {
|
||||
private final static field Test: TestPrivateCompanion$Test
|
||||
inner class TestPrivateCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestProtectedCompanion$Test {
|
||||
inner class TestProtectedCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public class TestProtectedCompanion {
|
||||
protected final static field Test: TestProtectedCompanion$Test
|
||||
inner class TestProtectedCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
// LANGUAGE_VERSION: 1.1
|
||||
|
||||
class TestPrivateCompanion {
|
||||
private companion object Test
|
||||
}
|
||||
|
||||
open class TestProtectedCompanion {
|
||||
protected companion object Test
|
||||
}
|
||||
|
||||
class TestInternalCompanion {
|
||||
internal companion object Test
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
@kotlin.Metadata
|
||||
public final class TestInternalCompanion$Test {
|
||||
inner class TestInternalCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestInternalCompanion {
|
||||
public final static field Test: TestInternalCompanion$Test
|
||||
inner class TestInternalCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class TestPrivateCompanion$Test {
|
||||
inner class TestPrivateCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestPrivateCompanion {
|
||||
public final static field Test: TestPrivateCompanion$Test
|
||||
inner class TestPrivateCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestProtectedCompanion$Test {
|
||||
inner class TestProtectedCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public class TestProtectedCompanion {
|
||||
public final static field Test: TestProtectedCompanion$Test
|
||||
inner class TestProtectedCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
|
||||
class TestPrivateCompanion {
|
||||
private companion object Test
|
||||
}
|
||||
|
||||
open class TestProtectedCompanion {
|
||||
protected companion object Test
|
||||
}
|
||||
|
||||
class TestInternalCompanion {
|
||||
internal companion object Test
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
@kotlin.Metadata
|
||||
public final class TestInternalCompanion$Test {
|
||||
inner class TestInternalCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestInternalCompanion {
|
||||
public final static field Test: TestInternalCompanion$Test
|
||||
inner class TestInternalCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class TestPrivateCompanion$Test {
|
||||
inner class TestPrivateCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestPrivateCompanion {
|
||||
public deprecated final static @java.lang.Deprecated field Test: TestPrivateCompanion$Test
|
||||
inner class TestPrivateCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestProtectedCompanion$Test {
|
||||
inner class TestProtectedCompanion$Test
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public class TestProtectedCompanion {
|
||||
public deprecated final static @java.lang.Deprecated field Test: TestProtectedCompanion$Test
|
||||
inner class TestProtectedCompanion$Test
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
}
|
||||
Reference in New Issue
Block a user