Sign in
dart
/
sdk
/
c7b572aa298e933252746a7b5332d77cbec4482e
/
.
/
pkg
/
front_end
/
testcases
/
runtime_checks
/
implicit_downcast_if.dart.legacy.expect
blob: 9178d2a88d2f91de3e87e266ad777de9c5bad25a [
file
] [
log
] [
blame
]
library test
;
import
self
as
self
;
import
"dart:core"
as
core
;
static
method main
()
→
dynamic
{
core
::
Object
o
=
1
;
try
{
if
(
o
)
{
}
throw
"no exception"
;
}
on core
::
TypeError
catch
(
no
-
exception
-
var
)
{
}
}