Skip to content

util: fix indentationLvl when exceeding max call stack size

The inspection indentation level was not always reset to it's former value in case the maximum call stack size was exceeded.

It did not seem to be critical to add a test case for this as it's a pretty special case that has no completely reliable output anyway (the stack limit is not going to be identical on each run). Please let me know if you feel I should add a test nevertheless.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading