Open hrhino opened 4 years ago
Avoid allocating Somes; just emit if (tag.runtimeClass.isInstance(scrutinee)) ...
Some
if (tag.runtimeClass.isInstance(scrutinee)) ...
Would be nice if unapply there were final.
unapply
Avoid allocating
Some
s; just emitif (tag.runtimeClass.isInstance(scrutinee)) ...