Least upper bound bug? Analyzer and CFE infer "Function" #525
Labels
feature
Proposed language feature that solves one or more problems
least-upper-bound
Proposals about improvements of the LUB algorithm
Try this in DartPad:
I would expect the LUB of
(String) -> Future<void>
and([String]) -> void
to be(String) -> void
. Manually providing the type argument<void Function(String)>
tofoo
doesn't cause any errors at runtime.Is this an implementation error or a language issue?
cc @eernstg
The text was updated successfully, but these errors were encountered: