Closed JakeWharton closed 1 year ago
Clever! This doesn't break assertions on platform types right? I don't think it would?
I will check tonight
Sadly it selects the non-null variant :(
I'm assuming that is a deal-breaker. I can't see a path forward. It's weird that it selects the non-null variant. I spent a little time trying to investigate ways to trick it and couldn't come up with anything.
Yeah you'd need to assert both on a platform type. Could do something weird like only added them to the native variant? Not sure it's worth though.
Before:
After: