Closed srawlins closed 1 year ago
@srawlins If I'm not mistaken you should be using other is SomeType && <other checks here>
instead of as
?
Yes, you will get a warning from the unrelated_type_equality_checks
lint but it fails at runtime with a type cast error.
I'm not sure what you're referring to. One of the PRs? Could you comment on the PR?
@srawlins I commented on https://github.com/PhilipsHue/flutter_reactive_ble/pull/677 to clarify.
Not sure about the cast in the flutter_cocoon
PR, but per https://github.com/flutter/cocoon/pull/2400#discussion_r1072962994 I think its fine?
Customer tests are fixed.
See failures here: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791703831221213185/+/u/Customer_testing/customer_testing/test_stdout
We have to fix all of these before issuing a warning about it.