shithub: mc

ref: 8a8f41b17cb8c2f51b26e3e3a541e7b0a876ec3c
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
}