mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
compiler: fix repl chained_fields test (windows)
This commit is contained in:
parent
5dcfda0600
commit
6921c15b7b
2 changed files with 1 additions and 2 deletions
|
@ -1822,7 +1822,6 @@ fn (p mut Parser) dot(str_typ string, method_ph int) string {
|
||||||
f := p.first_immutable_field
|
f := p.first_immutable_field
|
||||||
p.error('cannot modify immutable field `$f.name` (type `$f.parent_fn`)\n' +
|
p.error('cannot modify immutable field `$f.name` (type `$f.parent_fn`)\n' +
|
||||||
'declare the field with `mut:`
|
'declare the field with `mut:`
|
||||||
|
|
||||||
struct $f.parent_fn {
|
struct $f.parent_fn {
|
||||||
mut:
|
mut:
|
||||||
$f.name $f.typ
|
$f.name $f.typ
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue