mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: fix compilation after the more strict mutability check
This commit is contained in:
parent
d83e2ee330
commit
d31142ac3e
@ -740,7 +740,7 @@ pub fn (mut f Fmt) expr(node ast.Expr) {
|
||||
if f.is_debug {
|
||||
eprintln('expr: ${node.position():-42} | node: ${typeof(node):-20} | $node.str()')
|
||||
}
|
||||
match node {
|
||||
match mut node {
|
||||
ast.AnonFn {
|
||||
f.fn_decl(node.decl)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user