Skip to content

Support taking the address of a struct member #11

@barneyb

Description

@barneyb

The & operator only works on bare IDs, so while you can read from and write to a struct member, you can't get one's address. You can work around by manually doing the pointer arithmetic the compiler does for laying out the struct, but that's nasty!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompiler

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions