checker: remove test println from previous commit
parent
a1314bd199
commit
01004bc5d8
|
@ -909,7 +909,6 @@ pub fn (c mut Checker) enum_val(node ast.EnumVal) table.Type {
|
|||
typ := c.table.get_type_symbol(table.Type(typ_idx))
|
||||
// println('tname=$typ.name')
|
||||
if typ.kind != .enum_ {
|
||||
println('# $typ.kind.str()')
|
||||
c.error('not an enum', node.pos)
|
||||
}
|
||||
// info := typ.info as table.Enum
|
||||
|
|
Loading…
Reference in New Issue