Skip to content

Commit ec111ff

Browse files
authored
Merge pull request #83 from JohanWiltink/main
remove duplicate stacktrace in `Verbose`
2 parents 688a04c + edc2520 commit ec111ff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lambda-calculus.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,6 @@ function printStackTrace(error, term, stack) {
415415

416416
if ( config.verbosity >= "Loquacious" )
417417
console.error( stack.slice(stackCutoff).reverse().map( v => `\twhile evaluating ${ v }`).join('\n') );
418-
419-
if ( config.verbosity >= "Verbose" )
420-
console.error( stack.slice().reverse().map( v => `\twhile evaluating ${ v }`).join('\n') );
421418
}
422419

423420
Object.defineProperty( Function.prototype, "valueOf", { value: function valueOf() { return toInt(this); } } );

0 commit comments

Comments
 (0)