-
Notifications
You must be signed in to change notification settings - Fork 952
todo: go on interface call #1961
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
Comments
I looked into this before and I believe my conclusion was that it's easier to finish refactoring the reflect package first. |
This error is still happening for me. Is there any resolution regarding this issue? |
I have implemented this, after refactoring how interfaces are type asserted and interface methods are called: #2202 |
Thank you. I've tried to install it again via Homebrew, but I'm afraid is not updated yet, because I'm still receiving the above error. |
It's only a PR yet, not yet merged into the development branch even. So no, it's not part of Homebrew yet. |
All right, thanks. |
Support for "go on interfaces" as been merged and tinygo 0.21 was released with this fix. Closing this bug. Please re-open if you're still encountering problems. |
This was discussed on slack a while back, but for the record, the code below fails with
/usr/local/Cellar/go/1.16.5/libexec/src/net/http/transport.go:1587:5: todo: go on interface call
:TinyGo version:
tinygo version 0.19.0-dev-1913cb76 darwin/amd64 (using go version go1.16.5 and LLVM version 11.0.0)
Invocation:
tinygo build -target wasm -o main.wasm main.go
The text was updated successfully, but these errors were encountered: