shithub: mc

ref: 3c4b4fecaf3841b492c75b6dacbc7b68c6aa1703
dir: /test/infermismatch.myr/

View raw version
/*
should fail to compile after infering that a is a float, b is a char, and
the types are incompatible.
*/
const main = {
	var a
	var b

	a = 1.0
	b = 'a'
	a = b
}