Skip to content

Support try...finally #6974

Closed
Closed

Description

@cknitt

In JS, we have try...catch...finally.

At the moment, ReScript does not support finally.

Activity

  1. added this to the v13 milestone on Aug 25, 2024
  2. cometkim commented on Aug 27, 2024

    @cometkim
    Member

    We might have the opportunity to explore an alternative syntax.

    e.g. https://github.com/tc39/proposal-explicit-resource-management

  3. github-actions commented on Aug 23, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    stale
    on Aug 23, 2025
  5. removed
    stale
    on Aug 23, 2025
  6. modified the milestones: v13, v12.1 on Dec 4, 2025
  7. self-assigned this
    on Dec 4, 2025
  8. modified the milestones: v12.1, v13 on Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions