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
This means, in the ideal case, the following code should not compile:
pubfntesting123() void {
comptimevarvalue: u32=3;
constpointer=&value;
varbad=pointer; // this is an undefined address
}
To detect this, we'd either need to make sure that the value of pointer never gets passed to codegen (ideal, hard), or that pointer reads as null in codegen (good enough, easy).
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
This means, in the ideal case, the following code should not compile:
To detect this, we'd either need to make sure that the value of
pointer
never gets passed to codegen (ideal, hard), or thatpointer
reads as null in codegen (good enough, easy).The text was updated successfully, but these errors were encountered: