Remove serde from default feature.
This commit is contained in:
@@ -87,6 +87,7 @@ pub mod packages;
|
||||
mod parser;
|
||||
mod result;
|
||||
mod scope;
|
||||
#[cfg(feature = "serde")]
|
||||
mod serde;
|
||||
mod stdlib;
|
||||
mod token;
|
||||
|
@@ -1701,7 +1701,7 @@ fn make_dot_expr(lhs: Expr, rhs: Expr, op_pos: Position) -> Result<Expr, ParseEr
|
||||
// lhs.func()
|
||||
(lhs, func @ Expr::FnCall(_)) => Expr::Dot(Box::new((lhs, func, op_pos))),
|
||||
// lhs.rhs
|
||||
(lhs, rhs) => return Err(PERR::PropertyExpected.into_err(rhs.position())),
|
||||
(_, rhs) => return Err(PERR::PropertyExpected.into_err(rhs.position())),
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user