From 32dd801201d20c5e9f774eaf71ea3546e9f38b79 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 16 May 2022 21:33:02 +0300 Subject: [PATCH] checker: apply fix for ui suggested by spaceface --- vlib/v/checker/checker.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index 99e456eca3..c2fe0a8694 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -1876,6 +1876,7 @@ pub fn (mut c Checker) selector_expr(mut node ast.SelectorExpr) ast.Type { } method.params = method.params[1..] node.has_hidden_receiver = true + method.name = '' fn_type := ast.new_type(c.table.find_or_register_fn_type(c.mod, method, false, true)) return fn_type