We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class Main { def main() : void { let foo = new Foo<int>(413); } } passive class Foo<t> { fun : () -> Bar<t> def init(item : t) : void { this.fun = \ () -> new Bar<t>(item); } } passive class Bar<t> { item : t def init(item : t) : void { this.item = item; } }
When compiling the above code, Clang gives the following error:
Main_src/Foo.encore.c:59:31: error: use of undeclared identifier '_this' _enc__type_init_Bar(_new_0, _this->_enc__type_t);
The text was updated successfully, but these errors were encountered:
Confirmed. Fix on the way.
Sorry, something went wrong.
@albertnetymk how is this one going? Did you fix it?
I see that it was fixed! (@albertnetymk next time, write Fix #377 with the hash in front of the number)
Fix #377
albertnetymk
No branches or pull requests
When compiling the above code, Clang gives the following error:
The text was updated successfully, but these errors were encountered: