From 65558a4f3da02fd7ad3d7ea93821c2a1be5508d7 Mon Sep 17 00:00:00 2001 From: hopehook Date: Mon, 11 Apr 2022 18:38:08 +0800 Subject: [PATCH] cmd/asm: update comment to refer to #44505 Updates #44505 Change-Id: I400110c33e69decf133fe9c4b582a450b7258b39 Reviewed-on: https://go-review.googlesource.com/c/go/+/399514 Reviewed-by: Ian Lance Taylor Reviewed-by: Matthew Dempsky Run-TryBot: Matthew Dempsky Auto-Submit: Matthew Dempsky TryBot-Result: Gopher Robot --- src/cmd/asm/internal/lex/tokenizer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/asm/internal/lex/tokenizer.go b/src/cmd/asm/internal/lex/tokenizer.go index 861a2d421d5..4db88e20c37 100644 --- a/src/cmd/asm/internal/lex/tokenizer.go +++ b/src/cmd/asm/internal/lex/tokenizer.go @@ -109,7 +109,7 @@ func (t *Tokenizer) Next() ScanToken { } text := s.TokenText() t.line += strings.Count(text, "\n") - // TODO: Use constraint.IsGoBuild once it exists. + // TODO: Use constraint.IsGoBuild once #44505 fixed. if strings.HasPrefix(text, "//go:build") { t.tok = BuildComment break