cmd/compile: fix comments in transformclosure

Change-Id: I7a18798180405504dc064424d63dac49634168fb
Reviewed-on: https://go-review.googlesource.com/41530
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Hiroshi Ioka 2017-04-24 14:30:31 +09:00 committed by Brad Fitzpatrick
parent bc6459ac6c
commit 3fa133f482
1 changed files with 1 additions and 1 deletions

View File

@ -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)