From efac08ccb57a01cf67a789a7cfc6126125d56e1f Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Fri, 10 Nov 2023 23:29:15 -0800 Subject: [PATCH] Move to Luau flag --- selene-lib/src/ast_util/extract_static_token.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, }