diff options
| author | guoguangwu <guoguangwug@gmail.com> | 2024-03-30 04:14:55 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-04-02 16:11:47 +0000 |
| commit | cb6d15a747ee7875504fdb4fc28c64c67c5f8d82 (patch) | |
| tree | 4d10f589569554bcfc47f8f19e6de3c13d71a6af /src/cmd | |
| parent | e0cd90528e1ea9d8e7362391b645178fcd0a7e03 (diff) | |
| download | go-cb6d15a747ee7875504fdb4fc28c64c67c5f8d82.tar.xz | |
cmd/compile/internal/ssa: fix typos in comment and log
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>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/compile/internal/ssa/config.go | 2 | ||||
| -rw-r--r-- | src/cmd/compile/internal/ssa/debug_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/config.go b/src/cmd/compile/internal/ssa/config.go index debcf1a0f4..d674cca009 100644 --- a/src/cmd/compile/internal/ssa/config.go +++ b/src/cmd/compile/internal/ssa/config.go @@ -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 diff --git a/src/cmd/compile/internal/ssa/debug_test.go b/src/cmd/compile/internal/ssa/debug_test.go index 2effed855c..2f21aca784 100644 --- a/src/cmd/compile/internal/ssa/debug_test.go +++ b/src/cmd/compile/internal/ssa/debug_test.go @@ -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)") } }) } |
