Skip to content

Commit

Permalink
Fixes #2356. Fix return type of this
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov committed Nov 7, 2023
1 parent 7ccb121 commit 05b1e7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import "../../Utils/expect.dart";

extension type ET<T>(T id) {
Object test1() => this;
Object? test1() => this;
void test2() {
Expect.identical(this, id);
}
Expand Down

0 comments on commit 05b1e7d

Please sign in to comment.