mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: avoid value receiver (#7975)
This commit is contained in:
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 {
|
lit0_is_capital := if p.tok.kind != .eof && p.tok.lit.len > 0 {
|
||||||
p.tok.lit[0].is_capital()
|
p.tok.lit[0].is_capital()
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user