From 8d057f3a0a1b972f01c1872214c05b58909f50f3 Mon Sep 17 00:00:00 2001 From: Tooru Takahashi Date: Fri, 11 Jan 2019 14:08:37 +0000 Subject: [PATCH] cmd/internal/src: fix typo in pos.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I31ac8845e72c3027c9a463b1f691f4d2b7913ec0 GitHub-Last-Rev: a6b185cc41d649141e6034b77bcfe53525498ea6 GitHub-Pull-Request: golang/go#29682 Reviewed-on: https://go-review.googlesource.com/c/157518 Reviewed-by: Brad Fitzpatrick Run-TryBot: Daniel Martí --- src/cmd/internal/src/pos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/internal/src/pos.go b/src/cmd/internal/src/pos.go index 110a57b98d..5063b133f3 100644 --- a/src/cmd/internal/src/pos.go +++ b/src/cmd/internal/src/pos.go @@ -343,7 +343,7 @@ const ( // positions. // PosDefaultStmt uint = iota // Default; position is not a statement boundary, but might be if optimization removes the designated statement boundary - PosIsStmt // Position is a statement bounday; if optimization removes the corresponding instruction, it should attempt to find a new instruction to be the boundary. + PosIsStmt // Position is a statement boundary; if optimization removes the corresponding instruction, it should attempt to find a new instruction to be the boundary. PosNotStmt // Position should not be a statement boundary, but line should be preserved for profiling and low-level debugging purposes. )