mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Double the amount of indentation allowed in parser trace debugging
Increase from 36 levels of indentation to 80. This is excessive, but it's confusing to have a parser test crash just because parse_debug_trace is enabled.
This commit is contained in:
parent
fefb4a3115
commit
14fabdff07
1 changed files with 1 additions and 2 deletions
|
@ -856,8 +856,7 @@ where
|
|||
}
|
||||
|
||||
// This should be enough for anyone. Right? RIGHT?
|
||||
let indent_text =
|
||||
"| ; : ! | ; : ! | ; : ! | ; : ! | ; : ! | ; : ! | ; : ! | ; : ! | ; : ! ";
|
||||
let indent_text = "| ; : ! ".repeat(20);
|
||||
|
||||
let cur_indent = INDENT.with(|i| *i.borrow());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue