to compileable state
This commit is contained in:
committed by
Pavel V. Talanov
parent
34da39c55b
commit
80e678e2ec
@@ -25,13 +25,6 @@ public class StarProjectionType extends Type {
|
||||
@NotNull
|
||||
@Override
|
||||
public String toKotlin() {
|
||||
G g = new G("");
|
||||
G<String> g2 = new G<String>("");
|
||||
return STAR;
|
||||
}
|
||||
}
|
||||
|
||||
class G<T extends String> {
|
||||
public <T> G(T t) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ public class TypeVisitor extends PsiTypeVisitor<Type> implements J2KVisitor {
|
||||
final IdentifierImpl identifier = new IdentifierImpl(name);
|
||||
|
||||
if (name.equals("void")) {
|
||||
myResult = new PrimitiveType(new IdentifierImpl(JetStandardClasses.UNIT_ALIAS));
|
||||
myResult = new PrimitiveType(new IdentifierImpl("Unit"));
|
||||
}
|
||||
else if (Node.PRIMITIVE_TYPES.contains(name)) {
|
||||
myResult = new PrimitiveType(new IdentifierImpl(AstUtil.upperFirstCharacter(name)));
|
||||
|
||||
Reference in New Issue
Block a user