aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/typecheck/stmt.go
diff options
context:
space:
mode:
authorDan Scales <danscales@google.com>2021-06-28 11:50:26 -0700
committerDan Scales <danscales@google.com>2021-06-28 20:52:43 +0000
commit64e6c75924a57306d8009cef4802b0b9ca4b7891 (patch)
tree3f16d92c562440a8379788b6ec72add637fe55b9 /src/cmd/compile/internal/typecheck/stmt.go
parentf99b3fe2ab6b142bc49b653c6547655cb7114625 (diff)
downloadgo-64e6c75924a57306d8009cef4802b0b9ca4b7891.tar.gz
go-64e6c75924a57306d8009cef4802b0b9ca4b7891.zip
[dev.typeparams] cmd/compile: port fix for issue46725 to transform.go
Allow fix for issue46725 to work for -G=3 mode. Change-Id: Id522fbc2278cf878cb3f95b3205a2122c164ae29 Reviewed-on: https://go-review.googlesource.com/c/go/+/331470 Trust: Dan Scales <danscales@google.com> Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/stmt.go')
-rw-r--r--src/cmd/compile/internal/typecheck/stmt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/typecheck/stmt.go b/src/cmd/compile/internal/typecheck/stmt.go
index 54cf508acc..f1275f29c0 100644
--- a/src/cmd/compile/internal/typecheck/stmt.go
+++ b/src/cmd/compile/internal/typecheck/stmt.go
@@ -217,7 +217,7 @@ assignOK:
}
}
if mismatched && !failed {
- rewriteMultiValueCall(stmt, r)
+ RewriteMultiValueCall(stmt, r)
}
return
}