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

Unified Diff: pkg/compiler/lib/src/resolution/operators.dart

Issue 2791993002: Fix dart2js warnings and add test to ensure it stays clean. (Closed)
Patch Set: Address comments and fix duplicated library names. Created 3 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 | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/operators.dart
diff --git a/pkg/compiler/lib/src/resolution/operators.dart b/pkg/compiler/lib/src/resolution/operators.dart
index b5d83d9eb50eb91132a1492fcf926854a29e92cc..b524cf4b5726ff4fd73c5ae6342ec9e142665dc9 100644
--- a/pkg/compiler/lib/src/resolution/operators.dart
+++ b/pkg/compiler/lib/src/resolution/operators.dart
@@ -53,6 +53,7 @@ class UnaryOperator {
}
}
+ // ignore: MISSING_RETURN
static UnaryOperator fromKind(UnaryOperatorKind kind) {
switch (kind) {
case UnaryOperatorKind.NOT:
@@ -235,6 +236,7 @@ class BinaryOperator {
}
}
+ // ignore: MISSING_RETURN
static BinaryOperator fromKind(BinaryOperatorKind kind) {
switch (kind) {
case BinaryOperatorKind.EQ:
@@ -432,6 +434,7 @@ class AssignmentOperator {
}
}
+ // ignore: MISSING_RETURN
static AssignmentOperator fromKind(AssignmentOperatorKind kind) {
switch (kind) {
case AssignmentOperatorKind.ASSIGN:
@@ -496,6 +499,7 @@ class IncDecOperator {
}
}
+ // ignore: MISSING_RETURN
static IncDecOperator fromKind(IncDecOperatorKind kind) {
switch (kind) {
case IncDecOperatorKind.INC:
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698