# Cannot find overloaded method

**URL:** <https://discourse.julialang.org/t/cannot-find-overloaded-method/48633>\
**Category:** General Usage\
**Created:** [October 19, 2020, 2:36pm UTC](https://discourse.julialang.org/t/cannot-find-overloaded-method/48633 "2020-10-19T14:36:18Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [October 19, 2020, 3:09pm UTC](https://discourse.julialang.org/t/cannot-find-overloaded-method/48633/7 "2020-10-19T15:09:58Z")

</div>

Notice that the `replace` method on line 594 of `set.jl` explicitly throws a `MethodError`.

```julia
replace(a::AbstractString, b::Pair, c::Pair) = throw(MethodError(replace, (a, b, c)))

```

---

_[View the full topic](https://discourse.julialang.org/t/cannot-find-overloaded-method/48633)._
