shithub: mc

ref: 10b54e590ef8bfd54c5dc9712d0864db4be4e1ce
dir: /test/match-badtypes.myr/

View raw version
use std
/*
should fail to compile because
all types matched over should be
compatible. Strings are not compatible
with integers.
*/
const foo = {
	match 123
	|"asdf":	123
	|234567:	888
	;;
}