From d256bef82a4d8ae2e4f626f6744a248a8f0eca5a Mon Sep 17 00:00:00 2001 From: sgrekhov Date: Thu, 12 Jan 2023 12:58:20 +0200 Subject: [PATCH] Fixes #1748. variable_A02_t04.dart. Typo fixed --- LanguageFeatures/Patterns/variable_A02_t04.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"; }