-
Notifications
You must be signed in to change notification settings - Fork 900
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
Stack overflow when storing a linked list in an interface #309
Labels
bug
Something isn't working
Comments
I managed to reduce the crash to this sample: package main
type Builder struct {
addr *Builder
}
func main() {
var itf interface{}
itf = Builder{}
_ = itf
} |
aykevl
changed the title
Stack overflow when generating wasm with strings.Builder
Stack overflow when storing a linked list in an interface
May 3, 2019
This will probably get fixed when I implement support for named types in reflect. |
Cool. 😄 |
aykevl
added a commit
that referenced
this issue
Aug 2, 2019
This commit fixes the following issue: #309 Also, it prepares for some other reflect-related changes that should make it easier to add support for named types (etc.) in the future.
deadprogram
pushed a commit
that referenced
this issue
Aug 5, 2019
This commit fixes the following issue: #309 Also, it prepares for some other reflect-related changes that should make it easier to add support for named types (etc.) in the future.
This bug has been fixed in the dev branch. |
still I was faced this issue . #309 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hit an interesting stack overflow error when experimenting with TinyGo (dev branch, commit 9a3d068) again just now:
The code which caused it is:
The full code is here if that helps, it's fairly simple:
https://github.com/justinclift/tinygo_canvas_test1/blob/stackoverflow_1/wasm.go
The text was updated successfully, but these errors were encountered: