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 Foo def bar() : void let a = new [Foo](1) in a[0] = this
compiles fine in Encore, but spits out this C code:
void* Foo_bar(_enc__active_Foo_t* this) { /* a = [Foo](1) */; int64_t _literal_2 = 1; array_t* _array_0 = array_mk(_literal_2, ENCORE_PRIMITIVE); array_t* _a_3 = _array_0; int64_t _literal_4 = 0; array_set(_a_3, _literal_4, ((encore_arg_t) {.p = (*this).aref})); // <============== Problem! return UNIT; }
which uses the old aref.
aref
The text was updated successfully, but these errors were encountered:
I just double-checked — this is fixed.
Sorry, something went wrong.
No branches or pull requests
compiles fine in Encore, but spits out this C code:
which uses the old
aref
.The text was updated successfully, but these errors were encountered: