Skip to content

Handle []T return #235

Open
Open
@krichprollsch

Description

@krichprollsch

zig-js-runtime doesn't allow return of []T when T is a declared native type.
The compilation complaints with an error lookup should be either builtin or defined

Moerover, I can declare a const TList = []T;, the compilation failed with a type is not a struct error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions