Skip to content

Allow exception handlers to be created which act over multiple catch ranges #22

Description

@broneill

If the catch ranges overlap, then combine them, reducing the size of the exception handler table.

Activity

  1. added theissue type on Jul 14, 2026
  2. broneill commented on Jul 14, 2026

    @broneill
    MemberAuthor

    This feature can be emulated by creating multiple handlers which then jump to a common location. The pattern is: store the exception variable to a common variable, and then goto. If this pattern is matched, then the handlers can be combined together automatically. If there's no variable store and just a goto, that should match too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions