1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: remove test println from previous commit

This commit is contained in:
Joe Conigliaro 2020-03-12 02:29:02 +11:00
parent a1314bd199
commit 01004bc5d8

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))
// 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