shithub: mc

ref: ea7fb6cca6d0fbe0f4f3f3ef269d97e76c488c27
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
	;;
}