iter 22-tidy.6.1 fixup: cover abstract-method + instance-override branches; doc + fallback comments

This commit is contained in:
2026-05-10 04:54:22 +02:00
parent d1c992d49a
commit 788c9808dd
3 changed files with 35 additions and 0 deletions
@@ -0,0 +1,17 @@
// module test_22b2_instance_present
class Show a {
fn show(x: a) -> Str
}
instance Show Int {
fn show {
|x: a| -> Str {
"n"
}
}
}
fn main() -> Str {
show(42)
}