Generic Type Var werden zu PlaceholderTypen konvertiert

This commit is contained in:
JanUlrich 2016-05-03 22:43:43 +02:00
parent 5d760d4222
commit edda41f546
2 changed files with 2 additions and 6 deletions

View File

@ -181,8 +181,4 @@ public class ClassGenerator extends ClassGen{
super.addMethod(m); super.addMethod(m);
} }
} }

View File

@ -125,8 +125,8 @@ public class UnifyTypeFactory {
} }
public static UnifyType convert(GenericTypeVar t){ public static UnifyType convert(GenericTypeVar t){
//return new PlaceholderType(t.get_Name()); return new PlaceholderType(TypePlaceholder.fresh(NULL_NODE).get_Name());
return new ReferenceType(t.get_Name()); //return new ReferenceType(t.get_Name());
} }
public static UnifyConstraintsSet convert(ConstraintsSet constraints) { public static UnifyConstraintsSet convert(ConstraintsSet constraints) {