Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51188b7

Browse files
fixing spelling
1 parent 203e714 commit 51188b7

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

build/build.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,10 @@ func augmentOriginalImports(importPath string, file *ast.File) {
378378

379379
// augmentOriginalFile is the part of parseAndAugment that processes an
380380
// original file AST to augment the source code using the overrides from
381-
// the overlay files. The overrides and found maps key with an identifer
382-
// that uniquely identifies the top-level object being augmented.
381+
// the overlay files.
382+
//
383+
// The overrides and found maps key with an identifier that uniquely identifies
384+
// the top-level object being augmented.
383385
// The overrides map should be populated with the overrides to apply.
384386
// Found will be populated with the objects that had an override applied.
385387
func augmentOriginalFile(file *ast.File, overrides map[string]overrideInfo, found map[string]struct{}) {
@@ -484,7 +486,7 @@ func augmentOriginalFile(file *ast.File, overrides map[string]overrideInfo, foun
484486
// all overrides that were expected to be found were found and all overrides
485487
// that were not expected to be found were not found.
486488
//
487-
// The overrides and found maps key with an identifer
489+
// The overrides and found maps key with an identifier
488490
// that uniquely identifies the top-level object being augmented.
489491
// Found is populated with the objects that had an override applied
490492
// so the found keys should be a subset of the keys in the overrides map.

compiler/natives/src/reflect/export_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package reflect
55
//gopherjs:purge Uses GC, stack, and funcLayout
66
func FuncLayout(t Type, rcvr Type) (frametype Type, argSize, retOffset uintptr, stack, gc, inReg, outReg []byte, ptrs bool)
77

8-
//gopherjs:purge Uses internal information from map implementsion
8+
//gopherjs:purge Uses internal information from map implementation
99
func MapBucketOf(x, y Type) Type
1010

11-
//gopherjs:purge Uses internal information from map implementsion
11+
//gopherjs:purge Uses internal information from map implementation
1212
func CachedBucketOf(m Type) Type
1313

1414
//gopherjs:purge Uses the byte name resolution

compiler/natives/src/reflect/reflect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ func toKindTypeExt(src any) *js.Object {
17511751
return ext
17521752
}
17531753

1754-
// Constructe a new kindTypeExt for this type.
1754+
// Construct a new kindTypeExt for this type.
17551755
kindType := js.InternalObject(abiTyp).Get(idKindType)
17561756
switch abiTyp.Kind() {
17571757
case abi.Interface:

0 commit comments

Comments
 (0)