# Love Julia, but..... Type hierarchy is frustrating

**URL:** https://discourse.julialang.org/t/love-julia-but-type-hierarchy-is-frustrating/39651
**Category:** General Usage
**Created:** [May 17, 2020, 7:30pm UTC](https://discourse.julialang.org/t/love-julia-but-type-hierarchy-is-frustrating/39651 "2020-05-17T19:30:48Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![tkluck](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkluck/32/15769_2.png) [@tkluck](https://discourse.julialang.org/u/tkluck)
#### Post date: [May 17, 2020, 7:55pm UTC](https://discourse.julialang.org/t/love-julia-but-type-hierarchy-is-frustrating/39651/3 "2020-05-17T19:55:06Z")

</div>

That seems… unexpected. In general, your expectation is absolutely right that these two things should give the same output.

I can’t try this out because `FEM` doesn’t seem to be a registered package. One possibility is that the variable `FEM` in your session does not point at the top-level module `Main.FEM`. Another is that someone wrote a method

```julia
show(io::IO, ::Type{FEM.GenProp}) = .... 

```

that writes a “wrong” display value.

Both of these are not very typical situations. You can help us help you by giving more specific context.

(PS. please [don’t post screenshots of code](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757/); you are excluding people who rely on screen readers and you are making it impossible for people who want to help you to copy-paste your code.)

---

_[View the full topic](https://discourse.julialang.org/t/love-julia-but-type-hierarchy-is-frustrating/39651)._
