shithub: mc

ref: 5927f8f8d3b4ab40d2aacfae4b3cbd593c5e7f01
dir: /test/infermismatch.myr/

View raw version
use std
/*
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
}