diff --git a/internal/ast/utilities.go b/internal/ast/utilities.go index 4b7c524423..e8262ce04f 100644 --- a/internal/ast/utilities.go +++ b/internal/ast/utilities.go @@ -2081,7 +2081,7 @@ func IsBreakOrContinueStatement(node *Node) bool { // virtual `Parent` pointers that can be used to walk up the tree. Since `getModuleInstanceStateForAliasTarget` may // potentially walk up out of the provided `Node`, merely setting the parent pointers for a given `ModuleDeclaration` // prior to invoking `GetModuleInstanceState` is not sufficient. It is, however, necessary that the `Parent` pointers -// for all ancestors of the `Node` provided to `GetModuleInstanceState` have ben set. +// for all ancestors of the `Node` provided to `GetModuleInstanceState` have been set. // Push a virtual parent pointer onto `ancestors` and return it. func pushAncestor(ancestors []*Node, parent *Node) []*Node { diff --git a/internal/binder/binder_test.go b/internal/binder/binder_test.go index c78be8e1dd..8518509df3 100644 --- a/internal/binder/binder_test.go +++ b/internal/binder/binder_test.go @@ -29,7 +29,7 @@ func BenchmarkBind(b *testing.B) { compilerOptions := &core.CompilerOptions{Target: core.ScriptTargetESNext, ModuleKind: core.ModuleKindNodeNext} - // The above parses do a lot of work; ensure GC is finished before we start collecting pefrormance data. + // The above parses do a lot of work; ensure GC is finished before we start collecting performance data. // GC must be called twice to allow things to settle. runtime.GC() runtime.GC()