Allow type parameters on constructors #34414
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-duplicate
Closed in favor of an existing report
type-enhancement
A request for a change that isn't a bug
I have a class of type
Foo<T>
which I want to construct using a source ofR
values and a callback that can convertR
s toT
s.This fails with
Error: Constructors can't have type parameters
.The text was updated successfully, but these errors were encountered: