type params fixed
This commit is contained in:
@@ -15,6 +15,6 @@ public class TypeParameter extends Element {
|
|||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public String toKotlin() {
|
public String toKotlin() {
|
||||||
return myName.toKotlin() + QUESTION;
|
return myName.toKotlin();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -66,7 +66,7 @@ public class ClassTest extends JetTestCaseBase {
|
|||||||
public void testGenericClass() throws Exception {
|
public void testGenericClass() throws Exception {
|
||||||
Assert.assertEquals(
|
Assert.assertEquals(
|
||||||
classToSingleLineKotlin("final class Entry<K, V> {}"),
|
classToSingleLineKotlin("final class Entry<K, V> {}"),
|
||||||
"class Entry<K?, V?> { }"
|
"class Entry<K, V> { }"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user