mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
compiler: check if mutable receivers are modified
This commit is contained in:
parent
9c9e6290a6
commit
1397d532c6
9 changed files with 17 additions and 18 deletions
|
@ -770,7 +770,7 @@ if p.scanner.line_comment != '' {
|
|||
}
|
||||
}
|
||||
|
||||
fn (p mut Parser) warn(s string) {
|
||||
fn (p &Parser) warn(s string) {
|
||||
println('warning: $p.scanner.file_path:${p.scanner.line_nr+1}: $s')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue