Updated codegen for class decl

This commit is contained in:
2026-06-25 19:47:07 +02:00
parent 243b4ba5d0
commit 2549535e4b
4 changed files with 35 additions and 37 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ pub class Animal {
"Unknown".to_string()
}
pub void test_speak(&self) {
pub void test_speak<'a>(&'a self) {
assert_eq!(self.speak(), "Woof!");
}