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

Add a .power_assertable?/2 check and allow fallback to assert #23

Open
sitch opened this issue Dec 11, 2020 · 2 comments
Open

Add a .power_assertable?/2 check and allow fallback to assert #23

sitch opened this issue Dec 11, 2020 · 2 comments

Comments

@sitch
Copy link

sitch commented Dec 11, 2020

In order for a more seamless experience, having an introspection to see if there is a breaking macro or some other thing that would either fail to expand or be outside of a reasonable .power_assert/2 call, just fail this check and revert to the default "assert" call

@ma2gedev
Copy link
Owner

Thank you for your feedback!
It looks convenient, but is there a more detailed use case or a specific problem?

@sitch
Copy link
Author

sitch commented Dec 13, 2020

Just allows for a more seamless fallback strategy so can just flat out replace assert

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

No branches or pull requests

2 participants