Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: lib/src/messages.dart

Issue 1022963002: pkg/csslib: fixes for args (Closed) Base URL: https://github.com/dart-lang/csslib@master
Patch Set: nits Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/parser.dart ('k') | lib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/messages.dart
diff --git a/lib/src/messages.dart b/lib/src/messages.dart
index d8abcab1efe4dcbe4bb8d6c549ab4dff3247b7a5..595bf6c58ac6a4c2ca296891daa38e13ca54df89 100644
--- a/lib/src/messages.dart
+++ b/lib/src/messages.dart
@@ -124,10 +124,7 @@ class Messages {
void mergeMessages(Messages newMessages) {
messages.addAll(newMessages.messages);
newMessages.messages
- .where(
- (message) => message.level.value == Level.SEVERE || options.verbose)
- .forEach((message) {
- printHandler(message);
- });
+ .where((message) => message.level == Level.SEVERE || options.verbose)
+ .forEach(printHandler);
}
}
« no previous file with comments | « lib/parser.dart ('k') | lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698