Closed brentleyjones closed 3 years ago
Very nice. Can we add a test? Preferably one that fails prior to this change...
Sure. I'll try to get to that tonight. Just submitted this because it was discovered while implementing something with it at work.
I'm ready to merge this, do we have a test to add?
Sorry, got busy with a holiday week, and now I'm a little swamped with work. Go ahead and leave this unmerged if the tests are required. I'll eventually get to adding them.
No worries, @brentleyjones. Totally understand. Thanks for the PR. If I get some time soon I'll try to add a test myself and get it merged.
This is needed in order to prevent errors further down the tree from being swallowed into the
nil
.Using
stringValue
for comparison, sinceKeyType
doesn't conform toEquatable
.