]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EError.java
(refs #7375) Replaced collectVars method by a visitor
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / expressions / EError.java
index 82c6d5d527faf20232eb2a0f46290c91b73c5513..997a5723b66b05a501c5b38eabdf088cc19ce684 100644 (file)
@@ -13,10 +13,6 @@ import org.simantics.scl.compiler.types.Types;
 import org.simantics.scl.compiler.types.exceptions.MatchException;
 import org.simantics.scl.compiler.types.kinds.Kinds;
 
-import gnu.trove.map.hash.TObjectIntHashMap;
-import gnu.trove.set.hash.THashSet;
-import gnu.trove.set.hash.TIntHashSet;
-
 public class EError extends Expression {
 
     public EError(long loc, Type type) {
@@ -31,11 +27,6 @@ public class EError extends Expression {
         this(loc, Types.metaVar(Kinds.STAR));
     }
 
-    @Override
-    public void collectVars(TObjectIntHashMap<Variable> allVars,
-            TIntHashSet vars) {
-    }
-
     @Override
     protected void updateType() throws MatchException {
         setType(Types.metaVar(Kinds.STAR));
@@ -46,10 +37,6 @@ public class EError extends Expression {
         throw new UnsupportedOperationException();
     }
 
-    @Override
-    public void collectFreeVariables(THashSet<Variable> vars) {
-    }
-
     @Override
     public Expression simplify(SimplificationContext context) {
         return this;