mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
'$foo()' string interpolation
This commit is contained in:
parent
ef821379da
commit
8f9b6ac248
11 changed files with 57 additions and 42 deletions
|
@ -242,7 +242,7 @@ fn (p mut Parser) mutable_arg_error(i int, arg Var, f Fn) {
|
|||
dots_example = dots_example + ',..'
|
||||
}
|
||||
p.error('`$arg.name` is a mutable argument, you need to provide `mut`: ' +
|
||||
'`$f.name($dots_example)`')
|
||||
'`$f.name ($dots_example)`')
|
||||
}
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue