iter 22-tidy.6.1: write_class_def + write_instance_def — full Form-B projection

This commit is contained in:
2026-05-10 04:47:50 +02:00
parent e7af79183d
commit d1c992d49a
3 changed files with 120 additions and 24 deletions
+16
View File
@@ -0,0 +1,16 @@
// module test_22b3_default_e2e
class D a {
fn dval(x: a) -> Int default {
|x: a| -> Int {
99
}
}
}
instance D Int {
}
fn main() -> Unit with IO {
do io/print_int(dval(0))
}