aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/goroot.go2
-rw-r--r--loader/loader.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/loader/goroot.go b/loader/goroot.go
index ea2f705dc..c7341fc7f 100644
--- a/loader/goroot.go
+++ b/loader/goroot.go
@@ -214,7 +214,7 @@ func listGorootMergeLinks(goroot, tinygoroot string, overrides map[string]bool)
return merges, nil
}
-// needsSyscallPackage returns whether the syscall package should be overriden
+// needsSyscallPackage returns whether the syscall package should be overridden
// with the TinyGo version. This is the case on some targets.
func needsSyscallPackage(buildTags []string) bool {
for _, tag := range buildTags {
diff --git a/loader/loader.go b/loader/loader.go
index e66812a8e..a874291a6 100644
--- a/loader/loader.go
+++ b/loader/loader.go
@@ -430,7 +430,7 @@ func (p *Package) parseFiles() ([]*ast.File, error) {
var files []*ast.File
var fileErrs []error
- // Parse all files (incuding CgoFiles).
+ // Parse all files (including CgoFiles).
parseFile := func(file string) {
if !filepath.IsAbs(file) {
file = filepath.Join(p.Dir, file)