Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/switch_expression_A03_t05.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int test1(String s1, String s2) =>
_ => 0
};

double test2(String s1, String s2) =>
int test2(String s1, String s2) =>
switch (s1) {
"one" => 1,
"two" => 2,
Expand Down