You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
If you have a field on a class that has same name as a namespace this can interfere with compilation of methods that try to refer to that namespace.
bash-4.3# quark compile --python test.q
Checking environment ... done.
Parsing: test.q ....
Compiling quark code ...
/code/test.q:6:11: unresolved variable: Promise
bash-4.3# cat test.q
quark *;
class MyClass {
String quark; // <--- ONO IT IS THE SAME NAME AS A NAMESPACE
quark.Promise foo() { return new PromiseFactory().promise; }
}
The error message is also confusing and irrelevant.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you have a field on a class that has same name as a namespace this can interfere with compilation of methods that try to refer to that namespace.
The error message is also confusing and irrelevant.
The text was updated successfully, but these errors were encountered: