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