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

[Unity][Analysis] Include impure call in VerifyWellFormed errors #16585

Merged

Conversation

Lunderberg
Copy link
Contributor

Prior to this commit, VerifyWellFormed would state that a dataflow block or pure function contained an impure call, but identifying which call was impure was left to the user.

This commit updates VerifyWellFormed to show the impure relax::Call as part of the error message.

Prior to this commit, `VerifyWellFormed` would state that a dataflow
block or pure function contained an impure call, but identifying which
call was impure was left to the user.

This commit updates `VerifyWellFormed` to show the impure
`relax::Call` as part of the error message.
Copy link
Contributor

@slyubomirsky slyubomirsky left a comment

Choose a reason for hiding this comment

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

A very good UX improvement, thanks a ton.

@Lunderberg Lunderberg merged commit 33a6f75 into apache:main Feb 23, 2024
19 checks passed
@Lunderberg Lunderberg deleted the relax_show_impure_call_when_ill_formed branch February 23, 2024 14:06
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