# Resolving method ambiguity with Union

**URL:** <https://discourse.julialang.org/t/resolving-method-ambiguity-with-union/121106>\
**Category:** General Usage\
**Tags:** question, ambiguities\
**Created:** [October 9, 2024, 1:21pm UTC](https://discourse.julialang.org/t/resolving-method-ambiguity-with-union/121106 "2024-10-09T13:21:42Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [October 10, 2024, 9:09am UTC](https://discourse.julialang.org/t/resolving-method-ambiguity-with-union/121106/10 "2024-10-10T09:09:13Z")

</div>

Since then I discovered that there is a fallback in `Base` method that handles the `::Int` case, and in any case, [nothing lowers to that](https://discourse.julialang.org/t/what-lowers-to-hvcat-int/121107). So it is enough to write the `::Tuple{Vararg{Int}}` method.

---

_[View the full topic](https://discourse.julialang.org/t/resolving-method-ambiguity-with-union/121106)._
