[light classes] drop old light classes and backend: iteration #2
drop javaFileStub and fix tests ^KT-48773
This commit is contained in:
@@ -15,6 +15,3 @@ class Test(@get:MyAnnotation @set:MyAnnotation2 @setparam:MyAnnotation3 @propert
|
||||
get() = Unit
|
||||
set(value) {}
|
||||
}
|
||||
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_IDE_TEST
|
||||
@@ -4,6 +4,4 @@
|
||||
package simple
|
||||
|
||||
@Repeatable
|
||||
annotation class One(val value: String)
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_IDE_TEST
|
||||
annotation class One(val value: String)
|
||||
@@ -5,5 +5,4 @@ class Constructors(val valInPrimary: Int) {
|
||||
private constructor(): this(2)
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
-2
@@ -16,5 +16,3 @@ class Wrapper {
|
||||
}
|
||||
|
||||
class G
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
|
||||
@@ -11,5 +11,3 @@ interface I {
|
||||
|
||||
fun f()
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
|
||||
@@ -9,5 +9,3 @@ interface I {
|
||||
|
||||
fun f()
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
|
||||
@@ -12,7 +12,3 @@ interface B: A {
|
||||
interface C : B {
|
||||
fun c() = "c"
|
||||
}
|
||||
|
||||
// TODO: could be lazy
|
||||
// see KT-22819
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -5,5 +5,4 @@ package a
|
||||
fun f() {
|
||||
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -8,5 +8,4 @@ class A {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -5,5 +5,4 @@ class OnlySecondaryConstructors {
|
||||
constructor(p: Int): this()
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -1,7 +1,5 @@
|
||||
// Anno
|
||||
// FULL_JDK
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_IDE_TEST
|
||||
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.TYPE)
|
||||
|
||||
Vendored
-2
@@ -4,5 +4,3 @@
|
||||
package p
|
||||
|
||||
actual typealias B = List<Int>
|
||||
|
||||
// SKIP_IDE_TEST
|
||||
@@ -6,5 +6,3 @@ package p
|
||||
fun f() {
|
||||
|
||||
}
|
||||
|
||||
// SKIP_IDE_TEST
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// p.Annotations
|
||||
// SKIP_SANITY_TEST
|
||||
|
||||
package p
|
||||
|
||||
|
||||
@@ -32,5 +32,3 @@ class A {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoConsistency
|
||||
@@ -5,5 +5,3 @@
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
// SKIP_IDE_TEST
|
||||
-2
@@ -23,6 +23,4 @@ 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();// af$light_idea_test_case()
|
||||
public int af$light_idea_test_case();// af$light_idea_test_case()
|
||||
|
||||
public int getAp();// getAp$light_idea_test_case()
|
||||
public int getAp$light_idea_test_case();// getAp$light_idea_test_case()
|
||||
|
||||
}
|
||||
-1
@@ -10,5 +10,4 @@ class C : A() {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoConsistency
|
||||
// COMPILATION_ERRORS
|
||||
@@ -13,5 +13,4 @@ class C : A(), I {
|
||||
override fun if() = 5
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// COMPILATION_ERRORS
|
||||
@@ -10,5 +10,4 @@ class C : A() {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// COMPILATION_ERRORS
|
||||
-1
@@ -8,5 +8,4 @@ class C : Base {
|
||||
override fun foo(): Unit {}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
-1
@@ -7,5 +7,4 @@ interface Base<T> {
|
||||
class C : Base<Unit> {
|
||||
override fun foo(t: Unit) {}
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -1,5 +1,3 @@
|
||||
// HelloWorld
|
||||
|
||||
println("Hello world!")
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
@@ -11,5 +11,3 @@ class Bar(val a: Int) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
Reference in New Issue
Block a user