This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Spurious Downcast info messages for const. #8
Closed
Description
I don't think this code should be generating a downcast. BAR should have static type String.
Repo:
class Foo {
static const BAR = 'hi';
}
class Baz {
String bla = Foo.BAR; // Info: DownCast
}
Note this seems to impact all const and final fields. Fixing this bug will fix a large number of the DownCasts.
Metadata
Metadata
Assignees
Labels
No labels