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

go/types,types2: implement slice operations with type parameter types #48618

Closed
findleyr opened this issue Sep 24, 2021 · 1 comment
Closed
Labels
FrozenDueToAge NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@findleyr
Copy link
Contributor

Reminder issue: we still produce the following error when using slice operations on variables of type parameter type:
generic slice expressions not yet implemented

This is also yet undefined in the draft spec (CL 294469).

We need to pin down this behavior exactly and implement it in the type checker.

CC @griesemer

@findleyr findleyr added NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. release-blocker labels Sep 24, 2021
@findleyr findleyr added this to the Go1.18 milestone Sep 24, 2021
@griesemer
Copy link
Contributor

This was implemented with CL 354070 in types2 and CL 354092 in go/types.

@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

No branches or pull requests

3 participants