Static path expr

This commit is contained in:
2026-05-04 16:49:41 +02:00
parent eba3599520
commit c4bdc20276
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ impl GetRust for TypeExpr {
impl GetRust for Expression {
fn get_rust(&self) -> String {
match self {
Expression::Identifier(name) => name.clone(),
Expression::Path(path) => path.get_rust(),
Expression::IntLiteral(n) => n.to_string(),
Expression::FloatLiteral(n) => n.to_string(),
Expression::BoolLiteral(b) => b.to_string(),