1
0
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:
Delyan Angelov 2020-07-24 08:43:18 +03:00
parent d83e2ee330
commit d31142ac3e

View File

@ -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)
}