mirror of
https://github.com/golang/go
synced 2024-09-04 23:44:16 +00:00
![Robert Findley](/assets/img/avatar_default.png)
A recent change to error message formatting was missing a nil check. Fixes #49592 Change-Id: Ic1843e0277ba75eec0e8e41fe34b59c323d7ea31 Reviewed-on: https://go-review.googlesource.com/c/go/+/364034 Trust: Robert Findley <rfindley@google.com> Trust: Dan Scales <danscales@google.com> Trust: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org>
14 lines
247 B
Go
14 lines
247 B
Go
// compile
|
|
|
|
// Copyright 2021 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package p
|
|
|
|
func _() {
|
|
var x *interface{}
|
|
var y interface{}
|
|
_ = x == y
|
|
}
|