diff options
author | 2021-05-13 21:09:41 -0700 | |
---|---|---|
committer | 2021-05-13 21:09:41 -0700 | |
commit | 1fba2dc20f1e194ec3aa1475919880fd4c725118 (patch) | |
tree | 45f10524d93dc769fe33046bc719f792fe0491e5 /src | |
parent | ca4120afec54fc20295a4a7d3ce6f8c29eccd84c (diff) | |
download | bun-1fba2dc20f1e194ec3aa1475919880fd4c725118.tar.gz bun-1fba2dc20f1e194ec3aa1475919880fd4c725118.tar.zst bun-1fba2dc20f1e194ec3aa1475919880fd4c725118.zip |
bugfix
Former-commit-id: dbcddc79fc7d9e145c2059475d7281acc5d78862
Diffstat (limited to 'src')
-rw-r--r-- | src/js_ast.zig | 2 |
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 { |