Skip to content

better pointer comparison #573

@moodymudskipper

Description

@moodymudskipper

Just saw that we can get info on pointers with .Internal(inspect(x)).

Pointers can be different though even if they share the same adress, it's a bit like 2 environment sharing the same data and same parent, they're still different,they can have different metadata (protected, tag, attributes) . Our method of building a pointer from an adress actually builds a new pointer in this sense and it would be great if we could adapt it.

We can use this .Internal(inspect(x)) trick for other things like negative 0s etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions