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

Array function filter causes type information to be lost #597

Closed
SamCymbaluk opened this issue Mar 12, 2024 · 1 comment
Closed

Array function filter causes type information to be lost #597

SamCymbaluk opened this issue Mar 12, 2024 · 1 comment

Comments

@SamCymbaluk
Copy link

The built in filter function takes an array of type T and returns a reduced array of type T, but the checker currently loses this type information; if the input to filter is []T, the output will be []any.

@antonmedv
Copy link
Member

Fixed in #667!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants