On Wed, Jul 3, 2019 at 3:30 PM Gert <gert.cuyk...@gmail.com> wrote:
>
> I changed /usr/local/go/src/builtin/builtin.go
>
> type error interface {
>   Error() string
>   Unwrap() wrapper.Wrapper
> }
>
> But after compiling go successfully with ./all.bash it seems type error is 
> stil
>
> type error interface {
>   Error() string
> }

The type "error" is implemented directly in the Go compiler.  The code
in builtin/builtin.go only exists for documentation purposes.  If you
want to change error, you'll need to change the compiler.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWU87YZoPPuz2Kp5TBGQQk2bdKe%3DBuw%3DqM52gdN0sur3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to