Skip to content

Commit 7614713

Browse files
author
Nicolas Laurent
committed
don't count ignored frame towards the omitted frame count
1 parent a2b769d commit 7614713

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/truffleruby/language/backtrace/Backtrace.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ public Activation[] getActivations(Throwable truffleException) {
225225
final Node callNode = stackTraceElement.getLocation();
226226

227227
if (callStackManager.ignoreFrame(callNode, stackTraceElement.getTarget())) {
228-
// TODO(norswap, 24 Dec. 2019)
229-
// Seems wrong to me, this causes frames that would otherwise be ignored to
230-
// count towards the omitted frames.}
231-
++i;
232228
continue;
233229
}
234230

0 commit comments

Comments
 (0)