Closed johnniwinther closed 9 years ago
The correct semantics is
try { throw 'foo'; } on Unresolved catch { // Catch 'foo' in production mode. // Throw type error in checked mode } catch { // Never end here. }
See http://dartbug.com/8356
Removed Priority-Medium label. Added Priority-Unassigned label.
Set owner to @crelier. Removed Priority-Unassigned label. Added Priority-High, Accepted labels.
The VM implements the spec. No dynamic type error should be expected for a malformed type, either in production or checked mode, since the malformed type is mapped to dynamic.
See also 8356 and 7311.
Added Invalid label.
The correct semantics is
try { throw 'foo'; } on Unresolved catch { // Catch 'foo' in production mode. // Throw type error in checked mode } catch { // Never end here. }
See http://dartbug.com/8356