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 embedded fields with binary methods #1541

Merged
merged 2 commits into from
Apr 13, 2023

Conversation

mvertes
Copy link
Member

@mvertes mvertes commented Apr 12, 2023

Only structures with one embedded field can be marked anonymous, due to golang/go#15924. Also check only that the method is defined, do not verify its complete signature, as the receiver may or not be defined in the arguments of the method.

Fixes #1537.

Only structures with one embedded field can be marked anonymous,
due to golang/go#15924. Also check only that the method is defined,
do not verify its complete signature, as the receiver may or not
be defined in the arguments of the method.

Fixes traefik#1537.
@mvertes mvertes added bug Something isn't working area/core labels Apr 12, 2023
@mvertes mvertes added this to the v0.15.x milestone Apr 12, 2023
@mvertes mvertes requested a review from mpl April 12, 2023 16:45
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.

import "github.com/uber/jaeger-client-go" issue
3 participants