source_gen icon indicating copy to clipboard operation
source_gen copied to clipboard

Revivable has no way of specifying type arguments

Open srawlins opened this issue 4 years ago • 0 comments

For instance how would I revive the default value of c?

class A {
  void m([C c = const C<int>()]) {}
}

class C<T> {
  const C();
}

I think Reviver needs a typeArguments getter.

srawlins avatar Jul 23 '20 00:07 srawlins