aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js_ast.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig
index eb7f41ffd..b2e3a6ecb 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -3237,7 +3237,7 @@ pub const Scope = struct {
}
pub fn kindStopsHoisting(s: *Scope) bool {
- return @enumToInt(s.kind) > @enumToInt(Kind.entry);
+ return @enumToInt(s.kind) >= @enumToInt(Kind.entry);
}
pub fn initPtr(allocator: *std.mem.Allocator) !*Scope {