Skip to content

[NEXT] Aliasing Errors #87

@JustinMeimar

Description

@JustinMeimar

If we can make a reasonable definition of what compile time expression evaluation is, then we can make the conditions for an AliasingError more general.

Currently it states:

In Gazprea aliasing of mutable variables is illegal (the only case where any aliasing is allowed is through disjoint tuple field access.) 

We want to get away from "hardcoding" the spec semantics, as using language like "the only case" tends to do. Ideally we move towards something like:

 "Any locations which can be statically (ie. without evaluating any expressions at compile-time) determined to not alias should not raise an aliasing error"

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