Closed driade closed 1 year ago
nested case
$expressionResult = match ($condition) {
1, 2 => foo(),
default=> function () {
match ($condition) {
1, 2 => foo(),
default=> 1
};
},
};
$expressionResult = match ($condition) { 1, 2 => foo(), default=> baz(), };
instead of
$expressionResult = match ($condition) { 1, 2 => foo(), default => baz(), };
Have you solved it?
@glauca still on it, sorry
@glauca there you're ;)
my bad, is not
Done, it's been harder than I expected
instead of