Skip to content

Commit 6e4164e

Browse files
authored
chore: fix incorrect function name in comment (#2109)
Signed-off-by: weifangc <[email protected]>
1 parent 7593f9e commit 6e4164e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/checker/checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@ func isSameScopeDescendentOf(initial *ast.Node, parent *ast.Node, stopAt *ast.No
20032003
return false
20042004
}
20052005

2006-
// stopAtAnyPropertyDeclaration is used for detecting ES-standard class field use-before-def errors
2006+
// isPropertyImmediatelyReferencedWithinDeclaration is used for detecting ES-standard class field use-before-def errors
20072007
func isPropertyImmediatelyReferencedWithinDeclaration(declaration *ast.Node, usage *ast.Node, stopAtAnyPropertyDeclaration bool) bool {
20082008
// always legal if usage is after declaration
20092009
if usage.End() > declaration.End() {

0 commit comments

Comments
 (0)