Add compiler error for using @ptrToInt on bit aligned pointer #2677
Labels
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
Since bit aligned pointers is represented as meta data on the pointer type at compile time, it doesn't make sense to allow
@ptrToInt
on these pointers, as the address cannot be represented at runtime.The text was updated successfully, but these errors were encountered: