Skip to content
This repository was archived by the owner on Mar 26, 2020. It is now read-only.
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

Interfaces can be embedded in records with optional<> #402

@msjarrett

Description

@msjarrett
inty = interface +c { ... }

recy = record {
  field: optional<inty>;
}

This compiles. But remove the optional<...> and you get:
Interface reference cannot live in a record

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions