mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
remove debug printing of sum types
This commit is contained in:
parent
49430a5c31
commit
2d5f5a0c25
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user