You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rocky
changed the title
RepeatedNull (...) has bug; causes $RecursionLimit execeded
RepeatedNull[] ("...") has bug; causes $RecursionLimit execeded
Oct 15, 2020
The infinite recursion seems to be on List[HoldForm[RepeatedNull["a"]]. List evaluates its arguments, and somehow it is not seeing the HoldForm so expression format of RepeatedNull[] is preformed over and over with Expression.do_format().
I tried creating a custom do_format() for RepeatedNull[] but that doesn't get called. It also looks like HoldForm[] doesn't have an opportunty to dictate what is done on do_format() either.
Were these to be hooked in, ether might be a way to address.
Split off from #970 so this can be found and tracked separately
This is how WMA handles
...
(RepeatedNull
):and this is what happens in Mathics:
The text was updated successfully, but these errors were encountered: