shithub: mc

ref: 693647efbb86d842a9edc6e15c8d2420ff14b01c
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
}