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: allow assignment to exported variables #1628

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

theclapp
Copy link
Contributor

@theclapp theclapp commented Apr 30, 2024

If you (*interp.Interpreter).Use a variable, you should be able to assign to it.

Fixes #1623

If you (*interp.Interpreter).Use a variable, you should be able to
assign to it.

Fixes traefik#1623.
@ldez ldez added bug Something isn't working area/core labels Apr 30, 2024
@ldez ldez added this to the v0.16.x milestone Apr 30, 2024
Copy link
Member

@mvertes mvertes left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@traefiker traefiker merged commit 381e045 into traefik:master Apr 30, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot assign to variable in imported package
4 participants