language tests; on-catch with unknown class is a static warning, not error #10890
Labels
area-test
Cross-cutting test issues (use area- labels for specific failures; not used for package:test).
closed-obsolete
Closed as the reported issue is no longer relevant
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
try_catch_on_syntax_test/01
try_catch_on_syntax_test/07
try_catch_syntax_test/08
13.11 Try
An on-catch clause of the form on T catch (p1; p2) s matches an object o
if the type of o is a subtype of T. It is a static warning if T does not denote a
type available in the lexical scope of the catch clause.
The text was updated successfully, but these errors were encountered: