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

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

Issue 1154773002: Remove return in visitInitializers. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | tests/compiler/dart2js/semantic_visitor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/semantic_visitor.dart
diff --git a/pkg/compiler/lib/src/resolution/semantic_visitor.dart b/pkg/compiler/lib/src/resolution/semantic_visitor.dart
index 2449cae569265c41bf7ada7b79c36e94c3a95575..854c1bd25f631284b7de7b346944477a856aa9ee 100644
--- a/pkg/compiler/lib/src/resolution/semantic_visitor.dart
+++ b/pkg/compiler/lib/src/resolution/semantic_visitor.dart
@@ -96,9 +96,9 @@ abstract class SemanticDeclarationResolvedMixin<R, A>
for (Node node in initializers) {
InitializerStructure structure = computeInitializerStructure(node);
if (structure == null) {
- return internalError(node, 'No structure for $node');
+ internalError(node, 'No structure for $node');
} else {
- return structure.dispatch(declVisitor, node, arg);
+ structure.dispatch(declVisitor, node, arg);
}
}
}
« no previous file with comments | « no previous file | tests/compiler/dart2js/semantic_visitor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698