Revert "[light classes] drop old light classes and backend: iteration #2"
This reverts commit 97ce502cbe.
This commit is contained in:
@@ -15,3 +15,6 @@ class Test(@get:MyAnnotation @set:MyAnnotation2 @setparam:MyAnnotation3 @propert
|
||||
get() = Unit
|
||||
set(value) {}
|
||||
}
|
||||
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_IDE_TEST
|
||||
@@ -4,4 +4,6 @@
|
||||
package simple
|
||||
|
||||
@Repeatable
|
||||
annotation class One(val value: String)
|
||||
annotation class One(val value: String)
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_IDE_TEST
|
||||
@@ -5,4 +5,5 @@ class Constructors(val valInPrimary: Int) {
|
||||
private constructor(): this(2)
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
+2
@@ -16,3 +16,5 @@ class Wrapper {
|
||||
}
|
||||
|
||||
class G
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
|
||||
@@ -11,3 +11,5 @@ interface I {
|
||||
|
||||
fun f()
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
|
||||
@@ -9,3 +9,5 @@ interface I {
|
||||
|
||||
fun f()
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
|
||||
@@ -12,3 +12,7 @@ interface B: A {
|
||||
interface C : B {
|
||||
fun c() = "c"
|
||||
}
|
||||
|
||||
// TODO: could be lazy
|
||||
// see KT-22819
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -5,4 +5,5 @@ package a
|
||||
fun f() {
|
||||
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -8,4 +8,5 @@ class A {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -5,4 +5,5 @@ class OnlySecondaryConstructors {
|
||||
constructor(p: Int): this()
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -1,5 +1,7 @@
|
||||
// Anno
|
||||
// FULL_JDK
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_IDE_TEST
|
||||
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.TYPE)
|
||||
|
||||
Vendored
+2
@@ -4,3 +4,5 @@
|
||||
package p
|
||||
|
||||
actual typealias B = List<Int>
|
||||
|
||||
// SKIP_IDE_TEST
|
||||
@@ -6,3 +6,5 @@ package p
|
||||
fun f() {
|
||||
|
||||
}
|
||||
|
||||
// SKIP_IDE_TEST
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// p.Annotations
|
||||
// SKIP_SANITY_TEST
|
||||
|
||||
package p
|
||||
|
||||
|
||||
@@ -32,3 +32,5 @@ class A {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoConsistency
|
||||
@@ -5,3 +5,5 @@
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
// SKIP_IDE_TEST
|
||||
+2
@@ -23,4 +23,6 @@ class C {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// SKIP_SANITY_TEST
|
||||
// COMPILATION_ERRORS
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
public final class C /* p.C*/ extends p.A {
|
||||
public C();// .ctor()
|
||||
|
||||
public int af$light_idea_test_case();// af$light_idea_test_case()
|
||||
public int af();// af$light_idea_test_case()
|
||||
|
||||
public int getAp$light_idea_test_case();// getAp$light_idea_test_case()
|
||||
public int getAp();// getAp$light_idea_test_case()
|
||||
|
||||
}
|
||||
+1
@@ -10,4 +10,5 @@ class C : A() {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoConsistency
|
||||
// COMPILATION_ERRORS
|
||||
@@ -13,4 +13,5 @@ class C : A(), I {
|
||||
override fun if() = 5
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// COMPILATION_ERRORS
|
||||
@@ -10,4 +10,5 @@ class C : A() {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// COMPILATION_ERRORS
|
||||
+1
@@ -8,4 +8,5 @@ class C : Base {
|
||||
override fun foo(): Unit {}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
+1
@@ -7,4 +7,5 @@ interface Base<T> {
|
||||
class C : Base<Unit> {
|
||||
override fun foo(t: Unit) {}
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -1,3 +1,5 @@
|
||||
// HelloWorld
|
||||
|
||||
println("Hello world!")
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -11,3 +11,5 @@ class Bar(val a: Int) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
public class HelloWorld /* HelloWorld*/ extends kotlin.script.templates.standard.ScriptTemplateWithArgs {
|
||||
public HelloWorld(java.lang.String[]);// .ctor(java.lang.String[])
|
||||
public HelloWorld();// .ctor()
|
||||
|
||||
public static final void main(java.lang.String[]);// main(java.lang.String[])
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
// HelloWorld
|
||||
|
||||
println("Hello world!")
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
public class InnerClasses /* InnerClasses*/ extends kotlin.script.templates.standard.ScriptTemplateWithArgs {
|
||||
public InnerClasses(java.lang.String[]);// .ctor(java.lang.String[])
|
||||
public InnerClasses();// .ctor()
|
||||
|
||||
public static final void main(java.lang.String[]);// main(java.lang.String[])
|
||||
|
||||
@@ -23,4 +23,4 @@ public static final class Baz /* InnerClasses.Bar.Baz*/ {
|
||||
|
||||
public final void doSomething();// doSomething()
|
||||
|
||||
}}}
|
||||
}}}
|
||||
@@ -11,3 +11,5 @@ class Bar(val a: Int) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -4,12 +4,6 @@ public enum Direction /* Direction*/ {
|
||||
WEST,
|
||||
EAST;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static Direction valueOf(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.lang.IllegalArgumentException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static Direction[] values();// values()
|
||||
|
||||
private Direction();// .ctor()
|
||||
|
||||
}
|
||||
@@ -21,12 +15,6 @@ public enum Color /* Color*/ {
|
||||
|
||||
private final int rgb;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static Color valueOf(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.lang.IllegalArgumentException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static Color[] values();// values()
|
||||
|
||||
private Color(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
private Color(int);// .ctor(int)
|
||||
@@ -54,12 +42,6 @@ public enum ProtocolState /* ProtocolState*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract ProtocolState signal();// signal()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static ProtocolState valueOf(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.lang.IllegalArgumentException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static ProtocolState[] values();// values()
|
||||
|
||||
private ProtocolState();// .ctor()
|
||||
|
||||
|
||||
@@ -102,12 +84,6 @@ public enum IntArithmetics /* IntArithmetics*/ implements java.util.function.Bin
|
||||
|
||||
};
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static IntArithmetics valueOf(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.lang.IllegalArgumentException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static IntArithmetics[] values();// values()
|
||||
|
||||
private IntArithmetics();// .ctor()
|
||||
|
||||
public int applyAsInt(int, int);// applyAsInt(int, int)
|
||||
|
||||
Reference in New Issue
Block a user