Fix no_module builds.

This commit is contained in:
Stephen Chung 2022-03-05 18:32:50 +08:00
parent 8bda8c64df
commit 165fbbc855

View File

@ -380,8 +380,8 @@ pub enum Expr {
Variable(
#[cfg(not(feature = "no_module"))]
Box<(Option<NonZeroUsize>, super::Namespace, u64, Identifier)>,
#[cfg(feature = "no_module")] Box<(Option<NonZeroUsize>, (), u64, Identifier)>,
Option<NonZeroU8>,
#[cfg(feature = "no_module")] Box<(Option<NonZeroUsize>, (), Identifier)>,
Position,
),
/// Property access - ((getter, hash), (setter, hash), prop)