FreshWildcardType muss von ObjectType ableiten, damit der Unifikationsalgorithmus funktioniert
This commit is contained in:
parent
1a07c186a6
commit
6a8590ab0d
@ -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>();
|
||||
|
@ -1,5 +1,5 @@
|
||||
import java.util.Vector;
|
||||
|
||||
class ExtendsVector extends Vector{
|
||||
class ExtendsVector extends Vector<Object>{
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user