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

Error message improvement, report operator #27

Open
sjunges opened this issue Jul 21, 2020 · 0 comments
Open

Error message improvement, report operator #27

sjunges opened this issue Jul 21, 2020 · 0 comments

Comments

@sjunges
Copy link
Contributor

sjunges commented Jul 21, 2020

Hi,

I recently (accidentally) compared a Boolean with an integer.

Uncaught exception:
DiceLib.ExternalGrammar.Type_error("Type error at line 27 column 622: expected compatible integer types, got TBool and (TInt 4)")

While the error message was already pretty neat, it would have been helpful to have known which operator caused this error message.

This is obviously just a tiny usability improvement.

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