Sign in
dart
/
sdk
/
9081f28fbb611d55c1fa2ad54413298ce8e3102e
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks
/
implicit_downcast_assert_statement.dart.legacy.expect
blob: c773ddb36aef2b92627b94f3a9e03711fc71db54 [
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
);
assert
(
false
,
"no exception"
);
}
on core
::
TypeError
catch
(
no
-
exception
-
var
)
{
}
}