# Conflicting import of function with different signatures from multiple modules

**URL:** <https://discourse.julialang.org/t/conflicting-import-of-function-with-different-signatures-from-multiple-modules/21110>\
**Category:** New to Julia\
**Created:** [February 23, 2019, 1:48pm UTC](https://discourse.julialang.org/t/conflicting-import-of-function-with-different-signatures-from-multiple-modules/21110 "2019-02-23T13:48:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 23, 2019, 2:25pm UTC](https://discourse.julialang.org/t/conflicting-import-of-function-with-different-signatures-from-multiple-modules/21110/2 "2019-02-23T14:25:37Z")

</div>

They are different functions, so you cannot “merge” them. This has been discussed [at length](https://discourse.julialang.org/t/function-name-conflict-adl-function-merging/10335).

You can either

1. define `TestFcn` in `TypeDef`, and have both `Mod1` and `Mod2` import it (which I guess is what you want),
2. `import Mod1` and use `Mod1.TestFcn`, or not export it and do the same.

Also, note that most people use lowercase function names in Julia.

---

_[View the full topic](https://discourse.julialang.org/t/conflicting-import-of-function-with-different-signatures-from-multiple-modules/21110)._
