Open rdancer opened 1 year ago
I think this happens when the solver is compressing a solution, and the return statement looks like
return someMangleFunction([...
][testNumber++])
whereas the code expects
return [...
][testNumber++]
Then it won't parse correctly, so a buffer = [...
statement is sought but not found, so last_buffer_line
, which would point to the last such statement remains undefiend.
If that's the case, this is a problem with singleLinkedListify() and binaryTreeify() and friends, and big solutions, and will be dealt with when rewriting the compression code.
Update the regexp in the
last_return_line
block preceding the error.