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
Cannot use co-dependent types with each other that implement a common interface #120
Labels
Comments
Hello @kettek,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code produces
cannot use <*main.SceneB> as <main.Scene> in argument to switchTo
:In the actual code I'm using, where this problem cropped up, the
switchTo
function isn't called in the global scope, but rather by an interpreter function that is invoked by the host-side. Same problem in that context.This deviates from expected Go behavior, as the evaluated code compiles and runs under standard Go.
The text was updated successfully, but these errors were encountered: