Fix self with ref

This commit is contained in:
2026-05-05 22:15:12 +02:00
parent a6b6b21bf3
commit 2b1069d2e8
+1 -1
View File
@@ -545,7 +545,7 @@ impl From<pest::iterators::Pair<'_, Rule>> for FunctionDecl {
let mutable = listen_rule(&mut param, Rule::mutable); let mutable = listen_rule(&mut param, Rule::mutable);
let is_ref = listen_rule(&mut param, Rule::mutable); let is_ref = listen_rule(&mut param, Rule::deref_px);
Some(VarDecl { Some(VarDecl {
mutable: mutable && !is_ref, mutable: mutable && !is_ref,