You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The treatment of type errors in Dart is about to change slightly. Currently there is a distinction between TypeError and CastError, but in the future we plan to stop making this distinction. Cf. dart-lang/language#787.
The treatment of type errors in Dart is about to change slightly. Currently there is a distinction between
TypeError
andCastError
, but in the future we plan to stop making this distinction. Cf. dart-lang/language#787.In order to avoid having failures due to overly specific expectations about the error thrown in various tests, we should adjust the
checkTypeError
in https://github.com/dart-lang/co19/blob/45dcc9d4a34f008af14f8b881ac2b85f084d46f0/Utils/dynamic_check.dart to beand use this in order to verify that a type error occurs, rather than checking specifically for a
TypeError
or aCastError
.The text was updated successfully, but these errors were encountered: