remove debug printing of sum types

pull/3270/head
Johan Hillerström 2019-12-30 05:21:46 +01:00 committed by Alexander Medvednikov
parent 49430a5c31
commit 2d5f5a0c25
1 changed files with 2 additions and 2 deletions

View File

@ -849,10 +849,10 @@ fn (p mut Parser) type_decl() {
} }
if p.pass == .decl { if p.pass == .decl {
p.table.sum_types << name p.table.sum_types << name
println(p.table.sum_types) // println(p.table.sum_types)
} }
// Register the actual sum type // Register the actual sum type
println('registering sum $name') // println('registering sum $name')
p.table.register_type(Type{ p.table.register_type(Type{
name: name name: name
mod: p.mod mod: p.mod