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

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

findleyr opened this issue Sep 24, 2021 · 1 comment
Assignees
Milestone

Comments

@findleyr
Copy link
Contributor

@findleyr findleyr commented Sep 24, 2021

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

@griesemer
Copy link
Contributor

@griesemer griesemer commented Oct 13, 2021

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

Loading

@griesemer griesemer closed this Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants