checker: remove test println from previous commit

pull/3994/head
Joe Conigliaro 2020-03-12 02:29:02 +11:00
parent a1314bd199
commit 01004bc5d8
1 changed files with 0 additions and 1 deletions

View File

@ -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)) typ := c.table.get_type_symbol(table.Type(typ_idx))
// println('tname=$typ.name') // println('tname=$typ.name')
if typ.kind != .enum_ { if typ.kind != .enum_ {
println('# $typ.kind.str()')
c.error('not an enum', node.pos) c.error('not an enum', node.pos)
} }
// info := typ.info as table.Enum // info := typ.info as table.Enum