Analysis: add LC testdata with current behaviour
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
@test.AllOpen()
|
||||
public final class C /* test.C*/ {
|
||||
private final int p;
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
public final int getP();// getP()
|
||||
|
||||
public final void f();// f()
|
||||
|
||||
public final void g();// g()
|
||||
|
||||
|
||||
|
||||
@test.AllOpen()
|
||||
public static final class H /* test.C.H*/ {
|
||||
public H();// .ctor()
|
||||
|
||||
public final void j();// j()
|
||||
|
||||
}public static final class D /* test.C.D*/ {
|
||||
public D();// .ctor()
|
||||
|
||||
public final void z();// z()
|
||||
|
||||
}}
|
||||
+2
-1
@@ -24,4 +24,5 @@ class C {
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// SKIP_SANITY_TEST
|
||||
// SKIP_SANITY_TEST
|
||||
// COMPILATION_ERRORS
|
||||
+2
-1
@@ -46,4 +46,5 @@ class Container {
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
// FIR_COMPARISON
|
||||
// COMPILATION_ERRORS
|
||||
@@ -0,0 +1,6 @@
|
||||
public final class TypeHierarchyMap /* p1.TypeHierarchyMap*/<TValue> implements kotlin.collections.Map<java.lang.Class<?>, TValue> {
|
||||
public TypeHierarchyMap();// .ctor()
|
||||
|
||||
public boolean containsKey(@org.jetbrains.annotations.NotNull() java.lang.Class<?>);// containsKey(java.lang.Class<?>)
|
||||
|
||||
}
|
||||
@@ -5,4 +5,5 @@ class TypeHierarchyMap<TValue> : Map<Class<*>, TValue> {
|
||||
override fun containsKey(key: Class<*>): Boolean {
|
||||
TODO("not implemented")
|
||||
}
|
||||
}
|
||||
}
|
||||
// COMPILATION_ERRORS
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
public final class SmartSet /* SmartSet*/<T> implements kotlin.collections.MutableSet<T> {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final SmartSet.Companion Companion;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.Object data;
|
||||
|
||||
private int size;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.util.Iterator<T> iterator();// iterator()
|
||||
|
||||
private SmartSet();// .ctor()
|
||||
|
||||
public boolean add(T);// add(T)
|
||||
|
||||
public int getSize();// getSize()
|
||||
|
||||
public void clear();// clear()
|
||||
|
||||
public void setSize(int);// setSize(int)
|
||||
|
||||
|
||||
public static final class Companion /* SmartSet.Companion*/ {
|
||||
private final int ARRAY_THRESHOLD;
|
||||
|
||||
@<error>()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final <T> SmartSet<T> create();// <T> create()
|
||||
|
||||
@<error>()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final <T> SmartSet<T> create(@org.jetbrains.annotations.NotNull() java.util.Collection<? extends T>);// <T> create(java.util.Collection<? extends T>)
|
||||
|
||||
private Companion();// .ctor()
|
||||
|
||||
}}
|
||||
@@ -26,3 +26,4 @@ class SmartSet<T> private constructor() : AbstractSet<T>(), MutableSet<T> {
|
||||
size = 0
|
||||
}
|
||||
}
|
||||
// COMPILATION_ERRORS
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
public final class Inheritor /* p.Inheritor*/ implements p.I, p.I2 {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@p.Anno(s = {"S"})
|
||||
public java.lang.String bar();// bar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@p.Bueno(anno = @p.Anno(s = {"G"}))
|
||||
public java.lang.String foo();// foo()
|
||||
|
||||
public Inheritor();// .ctor()
|
||||
|
||||
public final void f();// f()
|
||||
|
||||
public void g();// g()
|
||||
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public final class C /* p.C*/ {
|
||||
public C();// .ctor()
|
||||
|
||||
public int af();// af()
|
||||
|
||||
public int getAp();// getAp()
|
||||
|
||||
}
|
||||
+2
-1
@@ -10,4 +10,5 @@ class C : A() {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoConsistency
|
||||
// LAZINESS:NoConsistency
|
||||
// COMPILATION_ERRORS
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final class C /* p.C*/ {
|
||||
private final int ip;
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
public int <no name provided>();// <no name provided>()
|
||||
|
||||
public int af();// af()
|
||||
|
||||
public int getAp();// getAp()
|
||||
|
||||
public int getIp();// getIp()
|
||||
|
||||
}
|
||||
@@ -14,3 +14,4 @@ class C : A(), I {
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// COMPILATION_ERRORS
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public final class C /* p.C*/ {
|
||||
public C();// .ctor()
|
||||
|
||||
public int af();// af()
|
||||
|
||||
public int getAp();// getAp()
|
||||
|
||||
}
|
||||
@@ -11,4 +11,5 @@ class C : A() {
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
// FIR_COMPARISON
|
||||
// COMPILATION_ERRORS
|
||||
Reference in New Issue
Block a user