From 628021a7cfc14a57dfcab306aa64bb4e651d2cc3 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Sun, 20 Dec 2020 22:21:46 +1100 Subject: [PATCH] cgen: v fmt fn.v --- vlib/v/gen/fn.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/v/gen/fn.v b/vlib/v/gen/fn.v index 5ce79084a0..cc05286339 100644 --- a/vlib/v/gen/fn.v +++ b/vlib/v/gen/fn.v @@ -113,7 +113,8 @@ fn (mut g Gen) gen_fn_decl(it ast.FnDecl, skip bool) { arg_start_pos := g.out.len fargs, fargtypes := g.fn_args(it.params, it.is_variadic) arg_str := g.out.after(arg_start_pos) - if it.no_body || ((g.pref.use_cache && g.pref.build_mode != .build_module) && it.is_builtin) || skip { + if it.no_body || + ((g.pref.use_cache && g.pref.build_mode != .build_module) && it.is_builtin) || skip { // Just a function header. Builtin function bodies are defined in builtin.o g.definitions.writeln(');') // // NO BODY') g.writeln(');')