Skip to content

Commit c339f34

Browse files
committed
fix a misplaced comment
1 parent 218d29e commit c339f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/js_parser/js_parser_lower.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,6 @@ func (p *parser) lowerUsingDeclarationContext() lowerUsingDeclarationContext {
18921892
}
18931893
}
18941894

1895-
// If this returns "nil", then no lowering needed to be done
18961895
func (ctx *lowerUsingDeclarationContext) scanStmts(p *parser, stmts []js_ast.Stmt) {
18971896
for _, stmt := range stmts {
18981897
if local, ok := stmt.Data.(*js_ast.SLocal); ok && local.Kind.IsUsing() {
@@ -2116,6 +2115,7 @@ func (p *parser) lowerUsingDeclarationInForOf(loc logger.Loc, init *js_ast.SLoca
21162115
id.Ref = tempRef
21172116
}
21182117

2118+
// If this returns "nil", then no lowering needed to be done
21192119
func (p *parser) maybeLowerUsingDeclarationsInSwitch(loc logger.Loc, s *js_ast.SSwitch) []js_ast.Stmt {
21202120
// Check for a "using" declaration in any case
21212121
shouldLower := false

0 commit comments

Comments
 (0)