Skip to content

Extend unboxed variants to support more advanced use cases #7988

Description

@zth

Some ideas;

  • Shapes, like multiple constructors with records in a single unboxed variant, where we can figure out which record is which at runtime (by checking distinct props, etc)
  • Tuples

Especially the first one pops up here and there when interoping with JS, and would be a fairly large capability improvement to have.

Activity

  1. added this to the v12.1 milestone on Oct 24, 2025
  2. added theissue type on Dec 4, 2025
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions