Skip to content

Conversation

@klkvr
Copy link
Member

@klkvr klkvr commented Sep 16, 2024

Closes #43

Adds logic to resolve which nodes actually caused the resolver failure. This provides us access to ids of actually incompatible nodes in format_imports_list fn.

It will now highlight sources causing failure in red

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

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

Is there a way we can add a test with snapbox, at least for the formatting?

@klkvr
Copy link
Member Author

klkvr commented Sep 17, 2024

Is there a way we can add a test with snapbox, at least for the formatting?

added a test in 488a4cd

@DaniPopes DaniPopes merged commit 71a4990 into main Sep 17, 2024
15 checks passed
@DaniPopes DaniPopes deleted the klkvr/better-diagnostic branch November 18, 2024 10:41
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.

Improve incompatible solidity versions error formatting

3 participants