Assigning a pointer to a "var" variable
Code example:
class Foo {
public string a;
}
void main(){
Qwe a = Qwe(){a = "qwe"};
var b = &a;
print(b->a);
}
CCode:
b = &a;
_tmp2_ = *b;
_tmp3_ = _tmp2_.a;
g_print ("%s", _tmp3_);
qwe_destroy (&_tmp2_);
qwe_destroy (&a);
This causes an error: Error qwefree(): double free detected in tcache 2