diff --git a/LanguageFeatures/Patterns/variable_A02_t04.dart b/LanguageFeatures/Patterns/variable_A02_t04.dart index 707be6c598..3420a29a0c 100644 --- a/LanguageFeatures/Patterns/variable_A02_t04.dart +++ b/LanguageFeatures/Patterns/variable_A02_t04.dart @@ -53,7 +53,7 @@ String test1(List l) { return "[$e, $f]"; case ([int g, final h]): g.expectStaticType>(); - return "[$g, final $h]"; + return "[$g, final $h]"; default: return "default"; } @@ -64,7 +64,7 @@ String test2(List l) { ([int a, String b]) => "[$a, $b]", ([int c, final int d]) => "[$c, $d]", ([String e, bool f]) => "[$e, $f]", - ([int g, final h]) => "[$g, final $h]", + ([int g, final h]) => "[$g, final $h]", _ => "default" }; } @@ -87,7 +87,7 @@ String test3(List l) { } if (l case ([int g, final h])) { g.expectStaticType>(); - return "[$g, final $h]"; + return "[$g, final $h]"; } else { return "default"; }