Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle []T return #235

Open
krichprollsch opened this issue Jun 19, 2024 · 0 comments
Open

Handle []T return #235

krichprollsch opened this issue Jun 19, 2024 · 0 comments
Labels
feature New feature or request

Comments

@krichprollsch
Copy link
Member

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.

@krichprollsch krichprollsch added the feature New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant