diff --git a/selene-lib/src/ast_util/extract_static_token.rs b/selene-lib/src/ast_util/extract_static_token.rs index df74ee42..0b5bb79d 100644 --- a/selene-lib/src/ast_util/extract_static_token.rs +++ b/selene-lib/src/ast_util/extract_static_token.rs @@ -18,13 +18,13 @@ pub fn extract_static_token(expression: &ast::Expression) -> Option<&TokenRefere | ast::Expression::UnaryOperator { .. } | ast::Expression::Function(_) | ast::Expression::FunctionCall(_) - | ast::Expression::IfExpression(_) - | ast::Expression::InterpolatedString(_) | ast::Expression::TableConstructor(_) | ast::Expression::Var(_) => None, #[cfg(feature = "roblox")] - ast::Expression::TypeAssertion { .. } => None, + ast::Expression::IfExpression(_) + | ast::Expression::InterpolatedString(_) + | ast::Expression::TypeAssertion { .. } => None, _ => None, }