Sign in
dart
/
sdk
/
3e732e5bbe85270cd9864e3600aa68f5f09efda6
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks
/
implicit_downcast_assert_statement.dart.strong.transformed.expect
blob: 00b7aeb7193319ac60e6e194c8467a78c17b15c2 [
file
] [
log
] [
blame
]
library test
;
import
self
as
self
;
import
"dart:core"
as
core
;
static
method main
()
→
dynamic
{
core
::
Object
o
=
1
;
try
{
assert
(
o
as
{
TypeError
}
core
::
bool
);
assert
(
false
,
"no exception"
);
}
on core
::
TypeError
catch
(
no
-
exception
-
var
)
{
}
}