-
Notifications
You must be signed in to change notification settings - Fork 23
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: static variable Default cannot be read at compile time #227
Comments
This seems strange. Can anyone else verify this? |
I am also getting this (totally out of the blue, although it's possible a cached package build was preventing it from popping up before). |
@neagix |
@Jebbs alright, so that's the problem. any idea if in D we can generate a better error when this happens? |
Not sure about error messages, but I was planning on having all/most structs to be initialized lazily. That would fix this problem at least. |
Entire error is
In the constructor for the Window class
ContextSettings.Default is the variable that cannot be read at compile time.
First time I have encountered this error. No other packages have that error.
Thank you.
The text was updated successfully, but these errors were encountered: