-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-coretype-questionA question about expected behavior or functionalityA question about expected behavior or functionality
Description
I got bitten by this here
_imageCache is defined
final Map<ReactionType, ui.Image> _imageCache = {};where ReatcionType is an enum.
The warning says: The argument type 'String' isn't related to 'ReactionType'
even with
analyzer:
language:
# strict-casts: true
# strict-inference: true
it stays a warning that throws an exception at runtime. I think this should always be treated as an error. Which use case would make sense to allow code with this to compile?
tenhobi and FMorschel
Metadata
Metadata
Assignees
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-coretype-questionA question about expected behavior or functionalityA question about expected behavior or functionality
