From b16a1e3a03cd8a13c06291bbb39aff0a49137bc6 Mon Sep 17 00:00:00 2001 From: Rulin Tang Date: Tue, 9 Jan 2024 02:39:36 +0000 Subject: [PATCH] cmd/compile: fix typo in comment Change-Id: Ie3f1f194489dd4cfd995bfaf292e1c311b37597b GitHub-Last-Rev: 6a363297785187188923a76456b468ef1bc1a656 GitHub-Pull-Request: golang/go#65008 Reviewed-on: https://go-review.googlesource.com/c/go/+/554136 Reviewed-by: Roland Shoemaker Reviewed-by: Peter Weinberger Auto-Submit: Robert Griesemer Reviewed-by: Robert Griesemer TryBot-Bypass: Robert Griesemer --- src/cmd/compile/internal/ir/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ir/node.go b/src/cmd/compile/internal/ir/node.go index 6513386f03..21d181dba6 100644 --- a/src/cmd/compile/internal/ir/node.go +++ b/src/cmd/compile/internal/ir/node.go @@ -152,7 +152,7 @@ const ( // OCALLFUNC, OCALLMETH, and OCALLINTER have the same structure. // Prior to walk, they are: X(Args), where Args is all regular arguments. // After walk, if any argument whose evaluation might requires temporary variable, - // that temporary variable will be pushed to Init, Args will contains an updated + // that temporary variable will be pushed to Init, Args will contain an updated // set of arguments. OCALLFUNC // X(Args) (function call f(args)) OCALLMETH // X(Args) (direct method call x.Method(args)) -- 2.48.1