pen-lang/pen

Prevent nested `error`s

raviqqe opened this issue · 0 comments

Solution

  • Unnest errors on built-in error function calls.
  • Analyze HIR statically where possible.
    • This can't cover all cases (e.g. error(x) where x is any type.)

References