import v.ast

fn main() {
	t := ast.new_table()
	ityp := ast.int_type
	isym := t.sym(ityp)
	println(ityp.debug())
	println(isym)
	println(isym.debug())
	x := ityp == ast.string_type
	// the next line should produce at least a warning, or even an error, without an explicit cast:
	z := isym == ast.string_type
	println(typeof(isym).name)
	println(typeof(ast.string_type).name)
	println(x)
	println(z)
}
