From cf7bfc5d3c00daa311fb08c7ca30eba8adafbb0a Mon Sep 17 00:00:00 2001 From: Erik Ernst Date: Fri, 16 Apr 2021 07:33:57 +0000 Subject: [PATCH] Fix corelib/type_tostring_test.dart Change-Id: I6eb9c6ca54bb4f00bfd1011d10f291ea5f672972 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195508 Commit-Queue: Erik Ernst Reviewed-by: Lasse R.H. Nielsen --- tests/corelib/type_tostring_test.dart | 3 +-- tests/corelib_2/type_tostring_test.dart | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/corelib/type_tostring_test.dart b/tests/corelib/type_tostring_test.dart index 8e1c2d1c423..8f2fa68c533 100644 --- a/tests/corelib/type_tostring_test.dart +++ b/tests/corelib/type_tostring_test.dart @@ -128,7 +128,6 @@ typedef G3 = T Function(S Function(S, T)); typedef G4 = S Function(S, T) Function(S); typedef G5 = S Function(S, T); -typedef Weird = Function Function( - Function Function(Function)); +typedef Weird = X Function(X Function(X)); RegExp re(String source) => RegExp(source); diff --git a/tests/corelib_2/type_tostring_test.dart b/tests/corelib_2/type_tostring_test.dart index 8e1c2d1c423..8f2fa68c533 100644 --- a/tests/corelib_2/type_tostring_test.dart +++ b/tests/corelib_2/type_tostring_test.dart @@ -128,7 +128,6 @@ typedef G3 = T Function(S Function(S, T)); typedef G4 = S Function(S, T) Function(S); typedef G5 = S Function(S, T); -typedef Weird = Function Function( - Function Function(Function)); +typedef Weird = X Function(X Function(X)); RegExp re(String source) => RegExp(source);