Episode 196: Runtime warning work only in half of the cases #123
vladvlasov256
started this conversation in
General
Replies: 1 comment
-
Hi @vladvlasov256, sorry we missed this question. The reason it's only needed to check |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Episode: 196
Time: 35:20
I've noticed that runtime warning in the
equals()
in the File.swift is fired only iflhs
is non-equatable.But what if
rhs
is non-equable too? Orrhs
is the only one which is non-equatable here.IMO, a version on 34th minute with two casts is more helpful for users. Or am I wrong?
Beta Was this translation helpful? Give feedback.
All reactions