Skip to content

Commit 1bf1967

Browse files
authored
Fix typos (#597)
1 parent 53ee499 commit 1bf1967

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/ast/utilities.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ func IsBreakOrContinueStatement(node *Node) bool {
20812081
// virtual `Parent` pointers that can be used to walk up the tree. Since `getModuleInstanceStateForAliasTarget` may
20822082
// potentially walk up out of the provided `Node`, merely setting the parent pointers for a given `ModuleDeclaration`
20832083
// prior to invoking `GetModuleInstanceState` is not sufficient. It is, however, necessary that the `Parent` pointers
2084-
// for all ancestors of the `Node` provided to `GetModuleInstanceState` have ben set.
2084+
// for all ancestors of the `Node` provided to `GetModuleInstanceState` have been set.
20852085

20862086
// Push a virtual parent pointer onto `ancestors` and return it.
20872087
func pushAncestor(ancestors []*Node, parent *Node) []*Node {

internal/binder/binder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func BenchmarkBind(b *testing.B) {
2929

3030
compilerOptions := &core.CompilerOptions{Target: core.ScriptTargetESNext, ModuleKind: core.ModuleKindNodeNext}
3131

32-
// The above parses do a lot of work; ensure GC is finished before we start collecting pefrormance data.
32+
// The above parses do a lot of work; ensure GC is finished before we start collecting performance data.
3333
// GC must be called twice to allow things to settle.
3434
runtime.GC()
3535
runtime.GC()

0 commit comments

Comments
 (0)