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
{{ message }}
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
From: angular.dart/lib/mock/zone.dart : microLeap, line 50
microLeap() {
while (_asyncQueue.isNotEmpty) {
// copy the queue as it may change.var toRun =newList.from(_asyncQueue);
_asyncQueue.clear();
// TODO: Support the case where multiple exceptions are thrown.// e.g. with a throwNextException() method.assert(_asyncErrors.isEmpty);
toRun.forEach((fn) =>fn());
if (_asyncErrors.isNotEmpty) {
var e = _asyncErrors.removeAt(0);
throw ['Async error', e[0], e[1]];
}
}
}
When run in checked mode, assert(_asyncErrors.isEmpty) halts execution and the errors from _asyncErrors are never re-thrown which makes debugging difficult. Is this assertion necessary?
The text was updated successfully, but these errors were encountered:
From: angular.dart/lib/mock/zone.dart : microLeap, line 50
When run in checked mode,
assert(_asyncErrors.isEmpty)
halts execution and the errors from_asyncErrors
are never re-thrown which makes debugging difficult. Is this assertion necessary?The text was updated successfully, but these errors were encountered: