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] Show objects instead of names in WellFormedChecker #16310

Merged

Conversation

Lunderberg
Copy link
Contributor

Prior to this commit, several diagnostics in the WellFormedChecker would explicitly extract the name from relax::Var, tir::Var, and GlobalVar instances. This is unnecessary, as these classes can be printed directly, and skips any changes to the default printing behavior (e.g. printing of variable addresses) that may be useful while debugging.

Prior to this commit, several diagnostics in the `WellFormedChecker`
would explicitly extract the name from `relax::Var`, `tir::Var`, and
`GlobalVar` instances.  This is unnecessary, as these classes can
be printed directly, and skips any changes to the default printing
behavior (e.g. printing of variable addresses) that may be useful
while debugging.
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.

Good tweak.

@Lunderberg Lunderberg merged commit 4a37cfe into apache:unity Jan 9, 2024
15 checks passed
@Lunderberg Lunderberg deleted the unity_use_full_object_in_well_formed_logs branch January 9, 2024 16:47
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