Skip to content

Commit

Permalink
cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Feb 29, 2024
1 parent d089ff6 commit 767ea0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/org/rascalmpl/interpreter/result/RascalFunction.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
import org.rascalmpl.ast.Statement;
import org.rascalmpl.ast.Type.Structured;
import org.rascalmpl.exceptions.ImplementationError;
import org.rascalmpl.exceptions.RascalStackOverflowError;
import org.rascalmpl.exceptions.RuntimeExceptionFactory;
import org.rascalmpl.interpreter.Accumulator;
import org.rascalmpl.interpreter.IEvaluator;
import org.rascalmpl.interpreter.IEvaluatorContext;
Expand Down
3 changes: 1 addition & 2 deletions src/org/rascalmpl/semantics/dynamic/Expression.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import org.rascalmpl.exceptions.ImplementationError;
import org.rascalmpl.exceptions.RascalStackOverflowError;
import org.rascalmpl.exceptions.RuntimeExceptionFactory;
import org.rascalmpl.exceptions.StackTrace;
import org.rascalmpl.exceptions.Throw;
import org.rascalmpl.interpreter.IEvaluator;
import org.rascalmpl.interpreter.IEvaluatorContext;
Expand Down Expand Up @@ -546,7 +545,7 @@ public Result<IValue> interpret(IEvaluator<Result<IValue>> eval) {
}
catch (StackOverflowError e) {

Check warning on line 546 in src/org/rascalmpl/semantics/dynamic/Expression.java

View check run for this annotation

Codecov / codecov/patch

src/org/rascalmpl/semantics/dynamic/Expression.java#L546

Added line #L546 was not covered by tests
// this should not use so much stack as to trigger another StackOverflowError
throw new RascalStackOverflowError(this, eval.getCurrentEnvt(), eval.getCallNesting());
throw new RascalStackOverflowError(this, eval.getCurrentEnvt());

Check warning on line 548 in src/org/rascalmpl/semantics/dynamic/Expression.java

View check run for this annotation

Codecov / codecov/patch

src/org/rascalmpl/semantics/dynamic/Expression.java#L548

Added line #L548 was not covered by tests
}
return res;
}
Expand Down

0 comments on commit 767ea0b

Please sign in to comment.