Skip to content

Commit

Permalink
Fixes dart-lang#2659. Make unique extension members names in augmenti…
Browse files Browse the repository at this point in the history
…ng_types_A05_t04
  • Loading branch information
sgrekhov committed May 14, 2024
1 parent 14e8d69 commit fad4d8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ main() {
Expect.equals("Ext1<B>", D<B>().name2());
Expect.equals("Ext1<A>", D<AAlias>().name1);
Expect.equals("Ext1<A>", D<AAlias>().name2());
Expect.equals("Ext2<B>", D<B>().name1);
Expect.equals("Ext2<B>", D<B>().name2());
Expect.equals("Ext2<A>", D<AAlias>().name1);
Expect.equals("Ext2<A>", D<AAlias>().name2());
Expect.equals("Ext2<B>", D<B>().name3);
Expect.equals("Ext2<B>", D<B>().name4());
Expect.equals("Ext2<A>", D<AAlias>().name3);
Expect.equals("Ext2<A>", D<AAlias>().name4());
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ augment extension Ext1<T extends AAlias> {
String name2() => 'Ext1<$T>';
}
augment extension Ext2<T extends A> {
String get name1 => 'Ext2<$T>';
String get name3 => 'Ext2<$T>';
}
augment extension Ext2<T extends AAlias> {
String name2() => 'Ext2<$T>';
String name4() => 'Ext2<$T>';
}

0 comments on commit fad4d8f

Please sign in to comment.