File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -171,13 +171,11 @@ func TestTypesInfo(t *testing.T) {
171
171
`x.(int)` ,
172
172
`(int, bool)` ,
173
173
},
174
- // TODO(gri): uncomment if we accept issue 8189.
175
- // {`package p2; type mybool bool; var m map[string]complex128; var b mybool; func _() { _, b = m["foo"] }`,
176
- // `m["foo"]`,
177
- // `(complex128, p2.mybool)`,
178
- // },
179
- // TODO(gri): remove if we accept issue 8189.
180
- {`package p2; var m map[string]complex128; var b bool; func _() { _, b = m["foo"] }` ,
174
+ {`package p2a; type mybool bool; var m map[string]complex128; var b mybool; func _() { _, b = m["foo"] }` ,
175
+ `m["foo"]` ,
176
+ `(complex128, p2a.mybool)` ,
177
+ },
178
+ {`package p2b; var m map[string]complex128; var b bool; func _() { _, b = m["foo"] }` ,
181
179
`m["foo"]` ,
182
180
`(complex128, bool)` ,
183
181
},
You can’t perform that action at this time.
0 commit comments