parser: avoid value receiver (#7975)
parent
dff36a9947
commit
8d3069f643
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue