Skip to content

Commit

Permalink
fixes #1895
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Nov 29, 2023
1 parent d85f086 commit 7687359
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/org/rascalmpl/library/Prelude.java
Original file line number Diff line number Diff line change
Expand Up @@ -923,15 +923,15 @@ public void iprint(IValue arg, IInteger lineLimit){
// ignore, it's what we wanted
}
catch (IOException e) {
RuntimeExceptionFactory.io(values.string("Could not print indented value"));
throw RuntimeExceptionFactory.io(values.string("Could not print indented value"));
}
finally {
try {
output.flush();
output.close();
}
catch (IOException e) {
}
try {
output.flush();
}
catch (IOException e) {
// ignore
}
}
}

Expand Down

0 comments on commit 7687359

Please sign in to comment.