summaryrefslogtreecommitdiff
path: root/test/ddd.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2012-03-07 11:17:26 -0800
committerIan Lance Taylor <iant@golang.org>2012-03-07 11:17:26 -0800
commitb514f0b9069d43e2a92def87201ae4b7cb2acca6 (patch)
treea82a62c244fdf57946b224346a2b0613a1a31c61 /test/ddd.go
parent72faa0303e4330bbdfd1a79f493ba8529f8208a2 (diff)
downloadgo-git-b514f0b9069d43e2a92def87201ae4b7cb2acca6.tar.gz
test: enable method expression tests in ddd.go
R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/5769044
Diffstat (limited to 'test/ddd.go')
-rw-r--r--test/ddd.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ddd.go b/test/ddd.go
index 3b595b5f8d..01768b89f3 100644
--- a/test/ddd.go
+++ b/test/ddd.go
@@ -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")
}
- */
}