You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the Record class adopts the CustomStringConvertible protocol, which defines the description property. Hence the conflict.
This was a bad move. It looked nice at first, because print(record) prints something nice. It has some defects, and you have just faced one of it. I should remove the default adoption of CustomStringConvertible. Consider it on the TODO list.
This maybe an issues with my knowledge of Swift
I get an error cannot override member variable (description) ...
Is there a way around this short of using a different name?
The text was updated successfully, but these errors were encountered: