1
0
mirror of https://github.com/golang/go synced 2024-11-21 12:04:41 -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:
Ian Lance Taylor 2012-03-07 11:17:26 -08:00
parent 72faa0303e
commit b514f0b906

View File

@ -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")
}
*/
}