FreshWildcardType muss von ObjectType ableiten, damit der Unifikationsalgorithmus funktioniert

This commit is contained in:
Enrico Schrödter 2015-10-16 13:22:08 +02:00
parent 1a07c186a6
commit 6a8590ab0d
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import de.dhbwstuttgart.typeinference.JavaCodeResult;
import de.dhbwstuttgart.typeinference.ResultSet;
import de.dhbwstuttgart.typeinference.exceptions.NotImplementedException;
public class FreshWildcardType extends Type {
public class FreshWildcardType extends ObjectType {
private static String strNextName = "A";
private Menge<Type> upperBounds = new Menge<Type>();

View File

@ -1,5 +1,5 @@
import java.util.Vector;
class ExtendsVector extends Vector{
class ExtendsVector extends Vector<Object>{
}