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

fix typo in parser

This commit is contained in:
jumblerg 2019-06-25 14:42:13 -04:00 committed by Alex Medvednikov
parent 7298a961c9
commit a911146182

View File

@ -501,7 +501,7 @@ fn (p mut Parser) struct_decl() {
is_method: true is_method: true
receiver_typ: name receiver_typ: name
} }
println('is interfaace. field=$field_name run=$p.run') println('is interface. field=$field_name run=$p.run')
p.fn_args(mut interface_method) p.fn_args(mut interface_method)
p.fspace() p.fspace()
interface_method.typ = p.get_type()// method return type interface_method.typ = p.get_type()// method return type