carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Carbon crashes when packaging wand with wildcard permission on rhs

Open marcoeilers opened this issue 7 months ago • 0 comments

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.

marcoeilers avatar May 26 '25 09:05 marcoeilers