-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Description
The following program sample.go triggers an unexpected result
package main
var item = []byte(`YOUR_PB_BYTE`)
func main() {
mapping := &StorageMapper{}
if len(item) != 0 {
e = proto.Unmarshal(item, mapping)
if e != nil {
panic(e)
}
}
}Expected result
It should runGot
CFG post-order panic: runtime error: index out of range [1] with length 0Yaegi Version
latest
Additional Notes
No response
Metadata
Metadata
Assignees
Labels
No labels