DescriptionThrow TypeError instead of CastError for type coercions.
Added 'tag' type StrongModeError, implemented by all errors that are
specific to strong mode semantics.
Failed casts throw CastError(Implementation) or StrongModeCastError.
Failed type assertions and reified coercions throw TypeError or
StrongModeTypeError.
Triaged some tests. Some pass due to now throwing a TypeError, many
pass for unknown reasons.
R=leafp@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/1da73c61eeeb6efcc22b93839ce663c19dd3d19a
Patch Set 1 #
Total comments: 1
Patch Set 2 : #
Total comments: 2
Messages
Total messages: 9 (3 generated)
|