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

Unified Diff: pkg/compiler/lib/src/resolution/send_structure.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
Index: pkg/compiler/lib/src/resolution/send_structure.dart
diff --git a/pkg/compiler/lib/src/resolution/send_structure.dart b/pkg/compiler/lib/src/resolution/send_structure.dart
index 799b0a2ca240c9f3f78dfd7d96a23a7ddcd41048..5d6aae19698d39a1c2fa9b2abd866870cfa0d2df 100644
--- a/pkg/compiler/lib/src/resolution/send_structure.dart
+++ b/pkg/compiler/lib/src/resolution/send_structure.dart
@@ -2203,6 +2203,7 @@ class ConstInvokeStructure<R, A> extends NewStructure<R, A> {
@override
NewStructureKind get kind => NewStructureKind.CONST_INVOKE;
+ // ignore: MISSING_RETURN
R dispatch(SemanticSendVisitor<R, A> visitor, NewExpression node, A arg) {
switch (constantInvokeKind) {
case ConstantInvokeKind.CONSTRUCTED:
@@ -2401,6 +2402,7 @@ class NonConstantVariableStructure<R, A> extends VariableStructure<R, A> {
VariableKind kind, Node node, VariableElement variable)
: super(kind, node, variable);
+ // ignore: MISSING_RETURN
R dispatch(SemanticDeclarationVisitor<R, A> visitor,
VariableDefinitions definitions, A arg) {
switch (kind) {
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_resolver.dart ('k') | pkg/compiler/lib/src/serialization/constant_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698