Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow collections as type for the label attribute (fixes #315) #341

Merged
merged 2 commits into from
Feb 16, 2024

Commits on Feb 16, 2024

  1. feat(collection): add support for collection of labels (zkat#315)

    Allow errors to have a number of labels determined at runtime.
    An example of this is when the rust compiler labels all the arms of
    a `match` expression when one of them has an incompatible type
    Nahor committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    6d01ca1 View commit details
    Browse the repository at this point in the history
  2. feat(collection): allow LabeledSpan in label collections

    To allow customization of the text for each label in a collection, add
    support for using LabeledSpan in collections instead of just regular
    spans
    Nahor committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    7a54a9f View commit details
    Browse the repository at this point in the history