Commit 3fa133f4 authored by Hiroshi Ioka's avatar Hiroshi Ioka Committed by Brad Fitzpatrick

cmd/compile: fix comments in transformclosure

Change-Id: I7a18798180405504dc064424d63dac49634168fb
Reviewed-on: https://go-review.googlesource.com/41530Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent bc6459ac
......@@ -319,7 +319,7 @@ func transformclosure(xfunc *Node) {
// byref++
// }(42)
// becomes:
// func(a int, byval int, &byref *int) {
// func(byval int, &byref *int, a int) {
// println(byval)
// (*&byref)++
// }(byval, &byref, 42)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment