]> Cypherpunks.ru repositories - gostls13.git/commitdiff
cmd/compile: typo
authorcuiweixie <cuiweixie@gmail.com>
Thu, 8 Jun 2023 06:43:43 +0000 (14:43 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 8 Jun 2023 16:39:09 +0000 (16:39 +0000)
Change-Id: I8ae86200675dcad0f1d4c9924459d8196da9740f
Reviewed-on: https://go-review.googlesource.com/c/go/+/501755
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: xie cui <523516579@qq.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>

src/cmd/compile/internal/reflectdata/reflect.go

index ff2eb1aba981d239a4f5c37b380879c8579fc56e..6ef40cb84c0b5b1ba8b9d4f4c23f47cc554e8b15 100644 (file)
@@ -158,10 +158,10 @@ func MapBucketType(t *types.Type) *types.Type {
                base.Fatalf("elem align %d too big for %v, BUCKETSIZE=%d", elemtype.Alignment(), t, BUCKETSIZE)
        }
        if keytype.Size() > MAXKEYSIZE {
-               base.Fatalf("key size to large for %v", t)
+               base.Fatalf("key size too large for %v", t)
        }
        if elemtype.Size() > MAXELEMSIZE {
-               base.Fatalf("elem size to large for %v", t)
+               base.Fatalf("elem size too large for %v", t)
        }
        if t.Key().Size() > MAXKEYSIZE && !keytype.IsPtr() {
                base.Fatalf("key indirect incorrect for %v", t)