mirror of
https://github.com/golang/go
synced 2024-11-21 16:24:40 -07:00
test: enable method expression tests in ddd.go
R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/5769044
This commit is contained in:
parent
72faa0303e
commit
b514f0b906
@ -219,7 +219,6 @@ func main() {
|
||||
println("s{&u}.Sum", x)
|
||||
panic("fail")
|
||||
}
|
||||
/* TODO(rsc): Enable once nested method expressions work.
|
||||
if x := (*U).Sum(&U{}, 1, 3, 5, 2); x != 11 {
|
||||
println("(*U).Sum", x)
|
||||
panic("fail")
|
||||
@ -228,5 +227,4 @@ func main() {
|
||||
println("U.Sum", x)
|
||||
panic("fail")
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user