This commit is contained in:
JanUlrich 2018-01-31 13:36:35 +01:00
commit cdcebdd4ac
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ public class RuleSet implements IRuleSet{
if(!rhsSType.getName().equals(lhsSType.getName())) if(!rhsSType.getName().equals(lhsSType.getName()))
return Optional.empty(); return Optional.empty();
if(!(lhsSType.getTypeParams().size()==rhsSType.getTypeParams().size()))throw new DebugException("Fehler in Unifizierung"); if(!(lhsSType.getTypeParams().size()==rhsSType.getTypeParams().size()))throw new DebugException("Fehler in Unifizierung"+ " " + lhsSType.toString() + " " + rhsSType.toString());
//if(rhsSType.getTypeParams().size() != lhsSType.getTypeParams().size()) //if(rhsSType.getTypeParams().size() != lhsSType.getTypeParams().size())
// return Optional.empty(); // return Optional.empty();

View File

@ -94,6 +94,6 @@ class Node<T> {
@Override @Override
public String toString() { public String toString() {
return "Node(" + content.toString() + ")"; return "Node(" + content.toString() + ")\n";
} }
} }