No_Such_Method.Error
cannot be displayed on types that overloaded to_display_text
#6297
Milestone
No_Such_Method.Error
cannot be displayed on types that overloaded to_display_text
#6297
Related to #6216 / #1538.
Repro
Run:
Expected result
Actual result
The
No_Such_Method.Error
that is raised cannot be displayed, because it callsto_display_text
onValue_Type
. Since that method is overridden to provide nicer display for instances ofValue_Type
, this call yieldsValue_Type.type.to_display_text[Value_Type.enso:280-611]
instead ofValue_Type
as we'd expect.The text was updated successfully, but these errors were encountered: