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

if-then expression error handling #86

Open
jjg-123 opened this issue Dec 2, 2024 · 0 comments
Open

if-then expression error handling #86

jjg-123 opened this issue Dec 2, 2024 · 0 comments

Comments

@jjg-123
Copy link
Collaborator

jjg-123 commented Dec 2, 2024

If a non-boolean is given to a ternary expression, like 4?5:6 there should be an instructive error message. Right now there is an ugly class cast and stack trace.

jjg-123 added a commit that referenced this issue Dec 2, 2024
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

1 participant