Sign in
dart
/
sdk
/
refs/heads/main
/
.
/
pkg
/
front_end
/
testcases
/
patterns
/
simple_if_case_in_lists.dart.textual_outline.expect
blob: d377cf53951c87fd45bafb1e3c662fc882cddc43 [
file
] [
log
] [
blame
]
test1
(
dynamic
x
)
=>
[
1
,
if
(
x
case
[
int
y
,
...])
y
,
1
];
test2
(
dynamic
x
)
=>
[
2
,
if
(
x
case
String
y
)
y
else
null
,
2
];
test3
(
dynamic
x
)
=>
[
3
,
if
(
x
case
bool
b
when
b
)
b
,
3
];
main
()
{}
expectEquals
(
x
,
y
)
{}
listToString
(
List
<dynamic>
list
)
{}