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

Specify which generator is unsupported in error message #516

Open
stylpe opened this issue Jun 17, 2022 · 1 comment
Open

Specify which generator is unsupported in error message #516

stylpe opened this issue Jun 17, 2022 · 1 comment

Comments

@stylpe
Copy link
Contributor

stylpe commented Jun 17, 2022

My model is growing quite large, and so are the errors I get. Try to find what's wrong in this one: https://replit.com/@SuperMikal/Conjure-and-Essence-20220507#feedback/What%20unsupported%20generator/stdout (error output starts at line 1222)

There's a LOT of context there 😅 so knowing which function or operator I'm looking for would be helpful.

Also, the same goes for all the "Not refined" cases, maybe printing an abstract types-only representation of the failing expression would help, or a copy of the original expression as the top level context, since the variables are all generated and too hard to recognise and figure out which type they have

@ozgurakgun
Copy link
Collaborator

Sorry I missed this. I agree we can give a bit more context from the original expression.

We can get away with the current error messages most of the time since Essence files are typically not very long :)

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