Skip to content

Cannot create array with imported type #192

@AkiSakurai

Description

@AkiSakurai

When attempting to create an array using an imported type, the following code results in a runtime error:

import * from png as PNG;
PNG png[2] @ 0;
E: runtime error: Cannot use imported type in evaluated context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions