-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Improved assert output #178
Comments
and
handler:
So we could try finding the line and printing it. Open the file, do nothing on failure. |
EH is in src/packages/exceptions.fdoc Use 'make rebuild' to rebuild the run time library. |
Before I commit a PR, is the following acceptable? If there are multiple lines of code (which I assume is unusal for an assert), the 2nd ... lines all indent to match the first line, aligning to after the
|
Yeah although it occurs to me that an assert failure is only going to show an assert that failed. Maybe show the line before and the line after for context? |
Could the line of the source code with the assertion be shown, eg, something like:
for
Current output:
The text was updated successfully, but these errors were encountered: