-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
What version of Go are you using (go version
)?
$ go version go version go1.11.3 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env
)?
Repro on play.golang.org.
What did you do?
https://play.golang.org/p/6NvGso5fqRg
package main
import (
"fmt"
)
func main() {
var err error
fmt.Println(error.Error(err))
}
What did you expect to see?
Some understandable/user-friendly error message, pointing to line 9. (Or, actually, maybe this line is actually correct and should compile? Not 100% sure. With go1.9 it seemed to compile correctly and work!)
What did you see instead?
main.main: relocation target go.builtin.error.Error not defined
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.