We allowed integer and pointer type casts everywhere but type casts to string, []byte and []rune only at toplevel. Fuse evalToplevelTypeCast and evalTypeCast and allow both kinds everywhere. There are multiple other ways to create variables than don't reference user memory anyway (which wasn't the case back when evalToplevelTypeCast was implemented). Fixes #1423 |
||
|---|---|---|
| .. | ||
| astutil | ||
| config | ||
| dwarf | ||
| elfwriter | ||
| gobuild | ||
| goversion | ||
| locspec | ||
| logflags | ||
| proc | ||
| terminal | ||
| version | ||