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

interp: improve handling of generic types #1489

Merged
merged 14 commits into from Feb 8, 2023
Merged

Conversation

mvertes
Copy link
Member

@mvertes mvertes commented Nov 16, 2022

When generating a new type, the parameter type was not correctly duplicated in the new AST. This is fixed by making copyNode recursive if needed. The out of order processing of generic types has also been fixed.

Fixes #1488

@mvertes mvertes added this to the v0.15.x milestone Nov 16, 2022
@mvertes mvertes requested a review from mpl November 16, 2022 15:08
@mvertes mvertes added the wip work in progress label Jan 25, 2023
@ldez ldez removed the wip work in progress label Jan 31, 2023
@ldez ldez marked this pull request as draft January 31, 2023 17:24
@mvertes mvertes marked this pull request as ready for review February 3, 2023 10:02
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit f3dbce9 into traefik:master Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors handling slice/array type parameters
3 participants