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

feat: improve macro spans for better errors #683

Merged
merged 3 commits into from
Jan 5, 2022
Merged

Conversation

austinabell
Copy link
Contributor

Some of these were very unhelpful, as it would just show the #[near_bindgen] annotation in error.

I only didn't update the span for param serializer annotations because of #681

Copy link
Member

@ChaoticTempest ChaoticTempest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error messages look a lot better now

@austinabell austinabell merged commit fc66a95 into master Jan 5, 2022
@austinabell austinabell deleted the austin/macro_spans branch January 5, 2022 22:23
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.

2 participants