Skip to content

Internal debug mode in compiler vs external usage #1461

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

Open
andrew-johnson-4 opened this issue May 1, 2025 · 2 comments
Open

Internal debug mode in compiler vs external usage #1461

andrew-johnson-4 opened this issue May 1, 2025 · 2 comments

Comments

@andrew-johnson-4
Copy link
Collaborator

With internal debugging compiler should give out-of-normal types in error messages.

Without debugging, compiler should give normal types in error messages.

I think this is the most sane way of moving forward? idk.

@alex-s168
Copy link
Collaborator

out of normal shows all types known right?
in that case, isn't out of normal form useful for normal programmers too?

@andrew-johnson-4
Copy link
Collaborator Author

you can enable out-of-normal with a "--debug-internal" mode, which is what I will use. However, normal programmers should not need it. If normal/denormal fails from a user standpoint, then that is a compiler internal bug.

Short story: we have lots of compiler internal bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants