compiler: remove debug prints

pull/4678/head
eyelash 2020-05-02 00:10:36 +02:00 committed by GitHub
parent b21be7f670
commit 130324df76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -3349,7 +3349,6 @@ fn (v &Gen) interface_table() string {
continue continue
} }
info := t.info as table.Interface info := t.info as table.Interface
println(info.gen_types)
// interface_name is for example Speaker // interface_name is for example Speaker
interface_name := t.name.replace('.', '__') interface_name := t.name.replace('.', '__')
mut methods := '' mut methods := ''

View File

@ -276,7 +276,6 @@ fn (mut p Parser) interface_decl() ast.InterfaceDecl {
for p.tok.kind != .rcbr && p.tok.kind != .eof { for p.tok.kind != .rcbr && p.tok.kind != .eof {
line_nr := p.tok.line_nr line_nr := p.tok.line_nr
name := p.check_name() name := p.check_name()
println(name)
// field_names << name // field_names << name
args2, _ := p.fn_args() args2, _ := p.fn_args()
mut args := [table.Arg{ mut args := [table.Arg{