aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e3732afa0..f3aedf4e9 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -3610,7 +3610,7 @@ pub const Expr = struct {
pub fn canBeConstValue(this: Expr.Data) bool {
return switch (this) {
- .e_reg_exp, .e_string, .e_number, .e_boolean, .e_null, .e_undefined => true,
+ .e_string, .e_number, .e_boolean, .e_null, .e_undefined => true,
.e_array => |array| array.was_originally_macro,
.e_object => |object| object.was_originally_macro,
else => false,