type params fixed

This commit is contained in:
Sergey Ignatov
2011-11-01 15:41:29 +04:00
parent fa2483ccfb
commit 8f97c76c07
2 changed files with 3 additions and 3 deletions
@@ -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> { }"
);
}
}