shithub: mc

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