diff --git a/pkg/eval/compiler.go b/pkg/eval/compiler.go index 29b115c4..3f5cc534 100644 --- a/pkg/eval/compiler.go +++ b/pkg/eval/compiler.go @@ -127,7 +127,7 @@ func (cp *compiler) registerVariableAccess(qname string, set bool, r diag.Ranger name1, _ = SplitQNameNsFirst(name) } - // This switch mirrors the structure of that from (*Frame).ResoleVar. + // This switch mirrors the structure of that from (*Frame).ResolveVar. switch ns { case "E:": return true diff --git a/pkg/eval/unix/umask.go b/pkg/eval/unix/umask.go index 0ab4a50e..973cc762 100644 --- a/pkg/eval/unix/umask.go +++ b/pkg/eval/unix/umask.go @@ -22,7 +22,7 @@ import ( // // When assigning a new value a string is implicitly treated as an octal // number. If that fails the usual rules for interpreting -// [numbers](./language.html#number) are used. The following arer equivalent: +// [numbers](./language.html#number) are used. The following are equivalent: // `unix:umask = 027` and `unix:umask = 0o27`. You can also assign to it a // `float64` data type that has no fractional component. // The assigned value must be within the range [0 ... 0o777], otherwise the