# Use of function refers to instance method rather than global function

**URL:** <https://forums.swift.org/t/use-of-function-refers-to-instance-method-rather-than-global-function/70546>\
**Category:** Using Swift\
**Tags:** global-functions\
**Created:** [March 10, 2024, 6:02am UTC](https://forums.swift.org/t/use-of-function-refers-to-instance-method-rather-than-global-function/70546 "2024-03-10T06:02:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ole](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ole/32/18720_2.png) [@ole](https://forums.swift.org/u/ole)\
**Post date:** [March 10, 2024, 10:22am UTC](https://forums.swift.org/t/use-of-function-refers-to-instance-method-rather-than-global-function/70546/2 "2024-03-10T10:22:02Z")

</div>

> [@ibex](#):
>
> But why? Isn't the global function's signature distinct enough to eliminate ambiguity?

The same issue was discussed in this thread from 2023-05: [Global functions can't be used if a member function shadows its name, even if the argument labels are different](https://forums.swift.org/t/global-functions-cant-be-used-if-a-member-function-shadows-its-name-even-if-the-argument-labels-are-different/65010)

---

_[View the full topic](https://forums.swift.org/t/use-of-function-refers-to-instance-method-rather-than-global-function/70546)._
