mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
parser: avoid value receiver (#7975)
This commit is contained in:
parent
dff36a9947
commit
8d3069f643
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue