maps should be made before being unmarshalled into
Bug #872364 reported by
Roger Peppe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
goyaml |
New
|
Undecided
|
Unassigned |
Bug Description
This code crashes assigning to a nil map. It should probably not.
package main
import (
"fmt"
"launchpad.
)
func main() {
var x map[string]string
if err := goyaml.
fmt.
} else {
fmt.
}
}
To post a comment you must log in.