samuelgoto/proposal-optional-types

Should methods be covariant?

Opened this issue · 0 comments

(porting comments to github issues)

@erights brought up that, as opposed to function parameters which are contravariant, dart has covariant parameters in methods.

@gbracha, wdyt?