motoko icon indicating copy to clipboard operation
motoko copied to clipboard

bugfix: repro for #4496

Open crusso opened this issue 1 year ago • 0 comments

Add repro for #4496 (stackoverflow parsing v large array literal) and explore workaround using v large blob instead.

This seems to be hard to fix since the overflow occurs in menhir generated code. I tried to rewrite the array literal parser to use a higher-order, tail-recursive action for the array literal list elements, but that didn't actually help.

crusso avatar Apr 22 '24 15:04 crusso