shithub: mc

ref: 58d7f56805e5e6def788c847c49b1051f164bd6c
dir: /test/union-extraarg.myr/

View raw version
use std
/*
should fail to compile becuse
we're constructing a union that
with too many arguments.
*/
type u = union
	`Foo
;;

const main = {
	`Foo 123
}