The following shell scripts all cause a stack overflow in the compiler: ``` sh python -c 'print("("*100000 + ")"*100000)'| rustc /dev/fd/0 python -c 'print("{"*100000 + "}"*100000)'| rustc /dev/fd/0 python -c 'print("{("*100000 + "})"*100000)'| rustc /dev/fd/0 ``` This should be fixed (perhaps by making the parser non-recursive, or by setting an explicit recursion limit).
Activity
[-]ICE on extremely deeply nested tuples[/-][+]ICE on extremely deeply nested syntax[/+]steveklabnik commentedon Sep 24, 2018
This feels like a duplicate of #32594
Auto merge of #55617 - oli-obk:stacker, r=<try>
Auto merge of #55617 - oli-obk:stacker, r=<try>
Rollup merge of rust-lang#55617 - oli-obk:stacker, r=oli-obk,nagisa