[SLC/ULC] KTIJ-25335 Add tests for fields with missing names
This commit is contained in:
committed by
Space Team
parent
c00eb050ce
commit
f318cd8a79
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
public final class SimpleClass /* SimpleClass*/ {
|
||||
public SimpleClass();// .ctor()
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// SimpleClass
|
||||
|
||||
// KTIJ-25335
|
||||
class SimpleClass {
|
||||
val
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
public final class Foo /* Foo*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String name;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getName();// getName()
|
||||
|
||||
public Foo(@org.jetbrains.annotations.NotNull() java.lang.String, error.NonExistentClass);// .ctor(java.lang.String, error.NonExistentClass)
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
// Foo
|
||||
|
||||
// KTIJ-25335
|
||||
class Foo(val name: String, val)
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
public final class MyClass /* MyClass*/<T> {
|
||||
private final T value;
|
||||
|
||||
public MyClass(T);// .ctor(T)
|
||||
|
||||
public final T getValAsString();// getValAsString()
|
||||
|
||||
public final T getValue();// getValue()
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// MyClass
|
||||
|
||||
// KTIJ-24121
|
||||
class MyClass<T>(val value: T) {
|
||||
fun getValAsString(): T {
|
||||
return value.toString()
|
||||
}
|
||||
val
|
||||
}
|
||||
Reference in New Issue
Block a user