dart_style
dart_style copied to clipboard
Lost type arguments on super calls
The formatter produced unexpected output. Input was:
class A {
A(int foo<T>(int a));
}
class B extends A {
B.sub1(int super.bar1<T1>(int a1),);
B.sub2(int super.bar2<T2>(int a2),);
}
main() {}
Which formatted to:
class A {
A(int foo<T>(int a));
}
class B extends A {
B.sub1(
int super.bar1(int a1),
);
B.sub2(
int super.bar2(int a2),
);
}
main() {}
(So formatting throws away the <T1>
and <T2>
)