We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ffad5 commit f3a532eCopy full SHA for f3a532e
go/analysis/passes/nilness/testdata/src/a/a.go
@@ -174,7 +174,7 @@ func unknown() bool {
174
return false
175
}
176
177
-func f10(a interface{}) {
+func f11(a interface{}) {
178
switch a.(type) {
179
case nil:
180
return
@@ -185,7 +185,7 @@ func f10(a interface{}) {
185
186
187
188
-func f11(a interface{}) {
+func f12(a interface{}) {
189
switch a {
190
191
@@ -205,7 +205,7 @@ type innerY struct {
205
value int
206
207
208
-func f12() {
+func f13() {
209
var d *Y
210
print(d.value) // want "nil dereference in field selection"
211
0 commit comments