mirror of
https://github.com/golang/go
synced 2024-11-17 09:34:49 -07:00
pr-fixes: add dup("interface{~a | ~b | ~c; ~int | ~string; float64; m()}"),
Took 10 minutes Change-Id: Ie122419e7efa93c593de8fd9236a1919970d42d1
This commit is contained in:
parent
f7b0fbd766
commit
8bbc76aaa7
@ -49,6 +49,7 @@ var testExprs = []testEntry{
|
||||
dup("interface{~int}"),
|
||||
|
||||
// generic constraints
|
||||
dup("interface{~a | ~b | ~c; ~int | ~string; float64; m()}"),
|
||||
dup("interface{int | string}"),
|
||||
dup("interface{~int | ~string; float64; m()}"),
|
||||
dup("interface{~T[int, string] | string}"),
|
||||
|
Loading…
Reference in New Issue
Block a user