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
|
||||
Reference in New Issue
Block a user