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

Replace assert in addModule with more useful error message #2637

Merged
merged 1 commit into from Mar 5, 2021

Conversation

Ravenslofty
Copy link
Collaborator

I'm increasingly finding log_assert to be unhelpful, especially when users are presented with them due to bugs. I just hit this one and thought it would be significantly more helpful to describe the error condition without having to spend time looking at the surrounding context to work out the problem.

@mwkmwkmwk mwkmwkmwk merged commit 55e5bd4 into YosysHQ:master Mar 5, 2021
@Ravenslofty Ravenslofty deleted the improve-assert-1 branch February 10, 2022 15:13
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.

None yet

2 participants