Join Slack
Communities
Powered by
<@U3HLSKE8L> The smart cast didn't work because a ...
# announcements
t
teedee
12/21/2016, 5:49 PM
@adam-mcneilly
The smart cast didn't work because a var could be changed by another thread after the if test but before the call to hashcode(). If you declare the string as a val the smart cast will work.
Open in Slack
Previous
Next