Skip to content

fix: correct span for prefix operator#5624

Merged
asterite merged 1 commit intomasterfrom
ab/prefix-span
Jul 29, 2024
Merged

fix: correct span for prefix operator#5624
asterite merged 1 commit intomasterfrom
ab/prefix-span

Conversation

@asterite
Copy link
Copy Markdown
Collaborator

Description

Problem

Resolves #5523

Summary

The span of a Prefix expression was taken from its prefixed expression instead of from the entire expression.

Additional Context

I'm not sure how to test this 🤔

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: incomplete span on failed assertions (elaborator)

3 participants