Class fügt Assumptions von Paralist richtig hinzu
This commit is contained in:
parent
038e65970c
commit
f51b5d5b7c
5
bin/.gitignore
vendored
5
bin/.gitignore
vendored
@ -1,6 +1 @@
|
||||
/bytecode
|
||||
/mycompiler
|
||||
/plugindevelopment
|
||||
/syntaxTree
|
||||
/typinferenz
|
||||
/parser
|
||||
|
@ -665,7 +665,10 @@ public class Class extends SyntaxTreeNode implements AClassOrInterface, IItemWit
|
||||
assumptions.add(globalAssumptions);
|
||||
|
||||
ConstraintsSet oderConstraints = new ConstraintsSet();
|
||||
|
||||
|
||||
for(Type gparam : this.paralist){
|
||||
if(gparam instanceof GenericTypeVar)assumptions.add(((GenericTypeVar)gparam).createAssumptions()); //Constraints für die Generischen Variablen erstellen und diese dem AssumptionsSet hinzufügen
|
||||
}
|
||||
for(Type gparam : this.paralist){
|
||||
if(gparam instanceof GenericTypeVar)oderConstraints.add(((GenericTypeVar)gparam).TYPE(assumptions)); //Constraints für die Generischen Variablen erstellen und diese dem AssumptionsSet hinzufügen
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user