-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Exception when trying to run
a class expression
#6992
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
Labels
Comments
Here we have a scope extrusion of |
anatoliykmetyuk
added a commit
to anatoliykmetyuk/utest
that referenced
this issue
Aug 6, 2019
Do you think it is not possible to do |
Because you are trying to precompile code and run that depends on code that has not be compiled yet. It is even worse if you depend on a locally defined value. |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 7, 2019
This heristic can detects and fails-fast when an Expr or Type is used with a different compiler instance.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 7, 2019
This heristic can detects and fails-fast when an Expr or Type is used with a different compiler instance.
anatoliykmetyuk
added a commit
to anatoliykmetyuk/utest
that referenced
this issue
Nov 8, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
minimized code
Macro:
Main:
Error
expectation
I'd expect to be able to run any expression, given that there are mechanisms in place to ensure their self-consistency (phase consistency principle). If for some reason it is not possible to run expressions of classes, I'd expect a more user-friendly error.The text was updated successfully, but these errors were encountered: