Skip to content

[#831] Make ITER{FAILWITH} typecheck

Nikolay Yakimov requested to merge lierdakil/#831-iter-failwith-typecheck into master

Description

Problem: The reference implementation allows using FAILWITH inside ITER just like it allows it inside LOOP. Morley however rejects it.

Solution: Allow failing instructions inside ITER.

Related issue(s)

Resolves #831 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports