tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.26k stars 901 forks source link

type assertion panics #4079

Closed gggrafff closed 7 months ago

gggrafff commented 9 months ago

The behavior of type assertions in tinygo differs from the standard go compiler. I get panic when I try to make a valid type assertion.

Example: https://github.com/gggrafff/tinygo_issue

gggrafff commented 9 months ago

Probably it's fixed: https://github.com/tinygo-org/tinygo/issues/3788 https://github.com/tinygo-org/tinygo/pull/3986

Let's make minor release with fixes?

deadprogram commented 8 months ago

@gggrafff I think we are getting very close to the next release.

deadprogram commented 7 months ago

Completed with v0.31.0 so now closing. Thank you!