Skip to content

Carbon crashes when packaging wand with wildcard permission on rhs #567

@marcoeilers

Description

@marcoeilers

The following program verifies in Silicon but crashes Carbon:

field f: Int

method m(r: Ref)
{
    package acc(r.f, wildcard) --* acc(r.f, wildcard)
}

The error message says Verification aborted exceptionally (java.lang.RuntimeException: cannot translate wildcard at an arbitrary position (should only occur directly in an accessibility predicate).

The issue seems to be that the exhaleExt code does not have a case for handling wildcard permissions.

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