Strong mode hotlist #25812
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
area-meta
Cross-cutting, high-level issues (for tracking many other implementation issues, ...).
P2
A bug or feature request we're likely to work on
This is a hotlist issue for the main stuff the people hacking on strong mode are focusing on right now:
Generic methods (@jmesserly)
new List<num/*=T*/>()
(Generic method prototype syntax doesn't map well to checked mode #25637)f<int>
ando.m<int>
(implement generic functions/methods in other AST nodes besides MethodInvocation #25175)<T>(T) ->T
(support declaration & use of generic function types #25179)Consistent use of upwards/downwards inference
Function parameter type and dynamic (top vs bottom)
Needs design.
Closure / function parameter and return type inference (@leafpetersen)
Future / async typing
Future<Future<T>>
flatteningGenerics and variance
@vsm: try making DefaultEquality generic, revisit package:collection - do we need this?
B <: A<bottom>
(Support B <: A<bottom> #25604)Ground types and is/as
Needs design.
is
on type parameter? ("Runtime check on non-ground type T may throw StrongModeError" #24565)Least upper bound
Field overrides
@virtual
?Error / warning quality
Should work on phrasing.
No dynamic
Improve type promotion
Various improvements that would help user productivity:
Other bugs to fix
(x) => null
(Static type of "(x) => null" is computed as "(dynamic) => <bottom>" dart-archive/dev_compiler#47)The text was updated successfully, but these errors were encountered: