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

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: another idea 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
Index: lib/src/messages.dart
diff --git a/lib/src/messages.dart b/lib/src/messages.dart
index d8abcab1efe4dcbe4bb8d6c549ab4dff3247b7a5..43c80438980bd4786f5ea4405a3e9a30c10e4e03 100644
--- a/lib/src/messages.dart
+++ b/lib/src/messages.dart
@@ -124,8 +124,7 @@ class Messages {
void mergeMessages(Messages newMessages) {
messages.addAll(newMessages.messages);
newMessages.messages
- .where(
- (message) => message.level.value == Level.SEVERE || options.verbose)
+ .where((message) => message.level == Level.SEVERE || options.verbose)
.forEach((message) {
Bob Nystrom 2015/04/03 16:15:24 forEach(printHandler);
kevmoo 2015/04/03 16:31:25 Done.
printHandler(message);
});
« example/call_parser.dart ('K') | « lib/parser.dart ('k') | lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698