diff --git a/vlib/v/parser/parser.v b/vlib/v/parser/parser.v index 4dbac3ae0c..acbf90d167 100644 --- a/vlib/v/parser/parser.v +++ b/vlib/v/parser/parser.v @@ -1054,7 +1054,7 @@ pub fn (mut p Parser) parse_ident(language table.Language) ast.Ident { } } -fn (p Parser) is_generic_call() bool { +fn (p &Parser) is_generic_call() bool { lit0_is_capital := if p.tok.kind != .eof && p.tok.lit.len > 0 { p.tok.lit[0].is_capital() } else {