shithub: mc

ref: e1967b76c1fdf21a0b8f27b608d43b5b6b3366bc
dir: /test/occur.myr/

View raw version
use std
/* checks that f is not an infinite type (ie, the type
doesn't exist within itself). If 'f' typechecked,
it's type would be:

f : (std.exit((-> (-> ... ad infinitum ...))))
*/
const f = {
	std.exit(f)
}