]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ssa: fix typos in comment and log
authorguoguangwu <guoguangwug@gmail.com>
Sat, 30 Mar 2024 04:14:55 +0000 (04:14 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 2 Apr 2024 16:11:47 +0000 (16:11 +0000)
Change-Id: Ic872bac2989ea1c83f31456eb334e6d756ebd7d1
GitHub-Last-Rev: d4098849791d510b9a1f21c3fbce395cd75a04c3
GitHub-Pull-Request: golang/go#66612
Reviewed-on: https://go-review.googlesource.com/c/go/+/575296
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>

src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/debug_test.go

index debcf1a0f465a1e207eb804ac65d20a07a9a4050..d674cca0099f291b86c2a083d5af3b185bd57f78 100644 (file)
@@ -130,7 +130,7 @@ type Logger interface {
        // some logging calls account for more than a few heap allocations.
        Log() bool
 
-       // Fatal reports a compiler error and exits.
+       // Fatalf reports a compiler error and exits.
        Fatalf(pos src.XPos, msg string, args ...interface{})
 
        // Warnl writes compiler messages in the form expected by "errorcheck" tests
index 2effed855c4e675e5932ff3b7b329b50ce2307a5..2f21aca784ac8daac99fdca2e40a3b7f0b4a4a09 100644 (file)
@@ -192,7 +192,7 @@ func skipSubTest(t *testing.T, tag string, basename string, gcflags string, coun
                if *force {
                        testNexting(t, basename, tag, gcflags, count, moreargs...)
                } else {
-                       t.Skip("skipping flaky test becaused not forced (-f)")
+                       t.Skip("skipping flaky test because not forced (-f)")
                }
        })
 }