# Misleading error message when type is not match

**URL:** <https://forum.crystal-lang.org/t/misleading-error-message-when-type-is-not-match/5075>\
**Category:** Help & Support\
**Created:** [November 4, 2022, 6:00pm UTC](https://forum.crystal-lang.org/t/misleading-error-message-when-type-is-not-match/5075 "2022-11-04T18:00:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zw963](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/zw963/32/1623_2.png) [@zw963](https://forum.crystal-lang.org/u/zw963)\
**Post date:** [November 5, 2022, 6:06pm UTC](https://forum.crystal-lang.org/t/misleading-error-message-when-type-is-not-match/5075/5 "2022-11-05T18:06:11Z")

</div>

@asterite [Misleading error message when type is not match · Issue #12720 · crystal-lang/crystal · GitHub](https://github.com/crystal-lang/crystal/issues/12720)

---

_[View the full topic](https://forum.crystal-lang.org/t/misleading-error-message-when-type-is-not-match/5075)._
