From d31142ac3effb5b0571f11a2cc90c46b9889f581 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 24 Jul 2020 08:43:18 +0300 Subject: [PATCH] vfmt: fix compilation after the more strict mutability check --- vlib/v/fmt/fmt.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/fmt/fmt.v b/vlib/v/fmt/fmt.v index edeea98dad..a3712d44f7 100644 --- a/vlib/v/fmt/fmt.v +++ b/vlib/v/fmt/fmt.v @@ -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) }