Sign in
dart
/
sdk.git
/
f36420a912bb76b61fc8b934286df44dd1aff09b
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks
/
implicit_downcast_assert_statement.dart.strong.transformed.expect
blob: c4e012c20353a219f7b5b1ecc6aa47570dac220a [
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
)
{
}
}