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

asm-gen: improve “invalid scale” message #951

Merged
merged 2 commits into from
Oct 31, 2024
Merged

asm-gen: improve “invalid scale” message #951

merged 2 commits into from
Oct 31, 2024

Conversation

vbgl
Copy link
Member

@vbgl vbgl commented Oct 30, 2024

Fixes #949.

Do not hesitate to suggest more improvements to the error message.

@vbgl vbgl added this to the 2024.07.2 milestone Oct 30, 2024
@vbgl vbgl requested a review from sarranz October 30, 2024 18:46
@sarranz
Copy link
Collaborator

sarranz commented Oct 30, 2024

I think it would be worth it printing the whole expression like we do for global addresses. Let me push a suggestion.

Copy link
Member Author

@vbgl vbgl left a comment

Choose a reason for hiding this comment

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

Very nice. Thanks.

@vbgl vbgl merged commit 54e846c into main Oct 31, 2024
1 check passed
@vbgl vbgl deleted the fix-949 branch October 31, 2024 06:18
vbgl added a commit that referenced this pull request Oct 31, 2024
Co-authored-by: Santiago Arranz Olmos <[email protected]>
(cherry picked from commit 54e846c)
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.

Print scale in "invalid scale" error
2 participants