# No method matching length() for any dot syntax operation involving a struct

**URL:** <https://discourse.julialang.org/t/no-method-matching-length-for-any-dot-syntax-operation-involving-a-struct/88425>\
**Category:** New to Julia\
**Created:** [October 8, 2022, 4:10am UTC](https://discourse.julialang.org/t/no-method-matching-length-for-any-dot-syntax-operation-involving-a-struct/88425 "2022-10-08T04:10:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ivoytov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ivoytov/32/42480_2.png) [@ivoytov](https://discourse.julialang.org/u/ivoytov)\
**Post date:** [October 8, 2022, 4:25am UTC](https://discourse.julialang.org/t/no-method-matching-length-for-any-dot-syntax-operation-involving-a-struct/88425/3 "2022-10-08T04:25:32Z")

</div>

Wow, thanks - what a great trick. Is there a reason not to use this line in every single type definition? Would I be breaking anything by overriding `broadcastable` like this?

---

_[View the full topic](https://discourse.julialang.org/t/no-method-matching-length-for-any-dot-syntax-operation-involving-a-struct/88425)._
