Sign in
dart
/
sdk.git
/
refs/tags/2.5.0-dev.3.0
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks
/
implicit_downcast_for_condition.dart.legacy.transformed.expect
blob: 98b73a7a906f7c46ff2d0576f952c3317cdb2174 [
file
] [
log
] [
blame
]
library test
;
import
self
as
self
;
import
"dart:core"
as
core
;
static
method main
()
→
void
{
core
::
Object
*
o
=
1
;
try
{
for
(
core
::
int
*
i
=
0
;
o
;
i
=
i
.+(
1
))
{
}
throw
"no exception"
;
}
on core
::
TypeError
*
catch
(
no
-
exception
-
var
)
{
}
}