Use dart analyze package for num.clamp (#139867)
Extacted from #130101, dropped the `@_debugAssert` stuff from that PR so it's easier to review.
This commit is contained in:
@@ -108,9 +108,7 @@ void foundError(List<String> messages) {
|
||||
_pendingLogs.clear();
|
||||
_errorMessages.add(messages);
|
||||
_hasError = true;
|
||||
if (onError != null) {
|
||||
onError!();
|
||||
}
|
||||
onError?.call();
|
||||
}
|
||||
|
||||
@visibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user