Skip to content

Commit 122b510

Browse files
authored
Update graph.rs
1 parent 58abacf commit 122b510

File tree

1 file changed

+1
-0
lines changed
  • turbopack/crates/turbopack-ecmascript/src/analyzer

1 file changed

+1
-0
lines changed

turbopack/crates/turbopack-ecmascript/src/analyzer/graph.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,7 @@ mod analyzer_state {
10421042
.expect("not in a function")
10431043
}
10441044

1045+
/// Returns true if `this` is bound in any active scope.
10451046
pub(super) fn is_this_bound(&self) -> bool {
10461047
self.state.lexical_stack.iter().any(|b| {
10471048
matches!(

0 commit comments

Comments
 (0)