tokiwa-software / fuzion

The Fuzion Language Implementation
https://fuzion-lang.dev
GNU General Public License v3.0
47 stars 11 forks source link

dfa: catch endless recursion in Call.toString, better env debug output #4153

Closed fridis closed 5 days ago

fridis commented 1 week ago

Call.toString could result in endless recursion if debug output calling this is added in code reachable from Call.result. To aovoid this, this patch adds a check for recursion and stop it.

Also improve the error message if an aborted effect is not found.

Both these changes helpd me woking in #4148.