From 165fbbc855b2a1e7a5cdf3a6aa4137bed8c7feeb Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 5 Mar 2022 18:32:50 +0800 Subject: [PATCH] Fix no_module builds. --- src/ast/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast/expr.rs b/src/ast/expr.rs index df17cc59..52a11a29 100644 --- a/src/ast/expr.rs +++ b/src/ast/expr.rs @@ -380,8 +380,8 @@ pub enum Expr { Variable( #[cfg(not(feature = "no_module"))] Box<(Option, super::Namespace, u64, Identifier)>, + #[cfg(feature = "no_module")] Box<(Option, (), u64, Identifier)>, Option, - #[cfg(feature = "no_module")] Box<(Option, (), Identifier)>, Position, ), /// Property access - ((getter, hash), (setter, hash), prop)