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