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

Unified Diff: pkg/front_end/lib/src/fasta/operator.dart

Issue 2699743002: Get rid of two more warnings. (Closed)
Patch Set: Created 3 years, 10 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: pkg/front_end/lib/src/fasta/operator.dart
diff --git a/pkg/front_end/lib/src/fasta/operator.dart b/pkg/front_end/lib/src/fasta/operator.dart
index e6f4b23c576e4a9a5ccc36495e4411f60b2f5a3c..d32e35de63582d1287bf9f50d746898a7daaaca9 100644
--- a/pkg/front_end/lib/src/fasta/operator.dart
+++ b/pkg/front_end/lib/src/fasta/operator.dart
@@ -77,4 +77,5 @@ String operatorToString(Operator operator) {
case Operator.truncatingDivide: return "~/";
case Operator.unaryMinus: return "unary-";
}
+ return null;
ahe 2017/02/15 22:16:06 Why is this necessary?
}

Powered by Google App Engine
This is Rietveld 408576698