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

fix(go): missing methods for multiple inheritance of the same interface #2701

Merged

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Mar 15, 2021

If a class implements an interface from multiple paths (e.g. directly and via a base), then Go compilation fails with an ambiguity issue.

Simplify by always re-implementing all methods and properties in derived classes.

Fixes #2700


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

If a class implements an interface from multiple paths (e.g. directly and via a base), then Go compilation fails with an ambiguity issue.

Simplify by always re-implementing all methods and properties in derived classes.

Fixes #2700
@eladb eladb added the pr/do-not-merge This PR should not be merged at this time. label Mar 15, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 15, 2021
@eladb eladb merged commit e31f0e1 into benisrae/fix-go-duplicate-names Mar 15, 2021
@eladb eladb deleted the benisrae/fix-go-missing-methods branch March 15, 2021 18:06
@eladb eladb restored the benisrae/fix-go-missing-methods branch March 15, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. pr/do-not-merge This PR should not be merged at this time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants