mirror of
https://github.com/golang/go
synced 2024-11-24 00:50:10 -07:00
3da1a26fba
The new check corresponds to the (etype != TANY || Debug['A'] != 0) that was lost in golang.org/cl/19936. Fixes #14652. Change-Id: Iec3788ff02529b3b0f0d4dd92ec9f3ef20aec849 Reviewed-on: https://go-review.googlesource.com/20271 Reviewed-by: Ian Lance Taylor <iant@golang.org>
10 lines
222 B
Go
10 lines
222 B
Go
// errorcheck
|
|
|
|
// Copyright 2016 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
|
|
|
|
var x any // ERROR "undefined: any"
|