Sign in
dart
/
sdk.git
/
5e373d134625e8300bc039df713378c9144b90e3
/
.
/
pkg
/
front_end
/
testcases
/
patterns
/
issue52191.dart.textual_outline.expect
blob: fea39434f4d5b6bf97297208f722bb234fd6f8dd [
file
] [
log
] [
blame
]
void
printBugsSwitch
(
int
n
)
=>
switch
(
n
)
{
0
=>
print
(
'no bugs'
),
1
=>
print
(
'one bug'
),
_
=>
print
(
'$n bugs'
),
};
void
printBugsConditional
(
int
n
)
=>
n
==
0
?
print
(
'no bugs'
)
:
n
==
1
?
print
(
'one bug'
)
:
print
(
'$n bugs'
);
main
()
{}