riverdelta/ui-tests/ui/item_tys.nil
2023-08-03 14:40:25 +02:00

25 lines
No EOL
261 B
Text

//@check-pass
type A = struct {
b: B,
c: C,
};
type B = struct {};
type C = struct {
b: B,
};
function test(a: A): A = a;
function main() = (
let a = A {
b: B {},
c: C {
b: B {},
}
};
test(a);
);