# Unexpected problem with previously working code - multiple dispatch seems to be failing

**URL:** <https://discourse.julialang.org/t/unexpected-problem-with-previously-working-code-multiple-dispatch-seems-to-be-failing/118622>\
**Category:** New to Julia\
**Created:** [August 26, 2024, 1:42pm UTC](https://discourse.julialang.org/t/unexpected-problem-with-previously-working-code-multiple-dispatch-seems-to-be-failing/118622 "2024-08-26T13:42:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Satvik](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/satvik/32/20486_2.png) [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Post date:** [August 27, 2024, 5:43pm UTC](https://discourse.julialang.org/t/unexpected-problem-with-previously-working-code-multiple-dispatch-seems-to-be-failing/118622/6 "2024-08-27T17:43:48Z")

</div>

See this thread: [What is the motivation for Julia not dispatching on keyword arguments?](https://discourse.julialang.org/t/what-is-the-motivation-for-julia-not-dispatching-on-keyword-arguments/117447)

And the linked github issue: [keyword arguments · Issue #485 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/485)

The key issue seems to be that if you have n optional arguments, generating a method with and without each one would mean 2^n methods.

---

_[View the full topic](https://discourse.julialang.org/t/unexpected-problem-with-previously-working-code-multiple-dispatch-seems-to-be-failing/118622)._
