mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: apply fix for ui suggested by spaceface
This commit is contained in:
@ -1876,6 +1876,7 @@ pub fn (mut c Checker) selector_expr(mut node ast.SelectorExpr) ast.Type {
|
|||||||
}
|
}
|
||||||
method.params = method.params[1..]
|
method.params = method.params[1..]
|
||||||
node.has_hidden_receiver = true
|
node.has_hidden_receiver = true
|
||||||
|
method.name = ''
|
||||||
fn_type := ast.new_type(c.table.find_or_register_fn_type(c.mod, method, false,
|
fn_type := ast.new_type(c.table.find_or_register_fn_type(c.mod, method, false,
|
||||||
true))
|
true))
|
||||||
return fn_type
|
return fn_type
|
||||||
|
Reference in New Issue
Block a user