Skip to content

Commit

Permalink
Move to Luau flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Nov 11, 2023
1 parent ddd6f16 commit efac08c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions selene-lib/src/ast_util/extract_static_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit efac08c

Please sign in to comment.