Skip to content

Declared types can leak into modules #865

@oskgo

Description

@oskgo

This is part of the examples in #749 that wasn't fixed by #860 that I missed during review.

Example:

theory Thy.
section.

declare type _T.
type T = _T.
op f: T.

module M = {proc main() = {return f;}}.

end section.
end Thy.
print Thy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions