shithub: mc

ref: 7793ebdf61e4082843444877b6b62411537cb243
dir: /test/match-badtypes.myr/

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