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
incomplete type error with generics #1491
Comments
Interestingly, if I revert my "little changes" to the AsStruct method signature, we get a different failure, so they are more important than I thought:
|
This is now fixed by #1489, including the last variant you proposed. |
I'm sorry, I closed it too early as #1489 is not yet merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following program
sample.go
triggers an unexpected resultExpected result
Got
Yaegi Version
on top of #1489
Additional Notes
I built upon the ./_test/issue-1460.go file in #1489 , so that the defined generic types would actually be instantiated and used in the main.
I also changed some small details like the signature of the AsStruct func (just so that it would make more sense), but I do not think they are relevant to the failure.
The text was updated successfully, but these errors were encountered: