mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
'$foo()' string interpolation
This commit is contained in:
@@ -188,7 +188,7 @@ const (
|
||||
fn (f Fn) str() string {
|
||||
t := Table{}
|
||||
str_args := f.str_args(t)
|
||||
return '$f.name($str_args) $f.typ'
|
||||
return '${f.name}($str_args) $f.typ'
|
||||
}
|
||||
|
||||
pub fn (t &Table) debug_fns() string {
|
||||
|
||||
Reference in New Issue
Block a user