summaryrefslogtreecommitdiff
path: root/test/union-extraarg.myr
blob: b34dc488acfaf9e0f8522e3ca7ec5a28fff62acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
should fail to compile becuse
we're constructing a union that
with too many arguments.
*/
type u = union
	`Foo
;;

const main = {
	`Foo 123
}