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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1635533003: Remove warning for inherited noSuchMethod. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | pkg/compiler/lib/src/resolution/class_members.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
index 5bf72b350e24a1fa90501dd5dc136846bde86f77..550cc634c2e4bc5634da80fc64a9c44652c52f2a 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
@@ -1231,7 +1231,7 @@ class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
// Preprocess: compute a list of cases that are the target of continue.
// These are the so-called 'recursive' cases.
List<JumpTarget> continueTargets = <JumpTarget>[];
- List<ast.SwitchCase> switchCases = node.cases.nodes.toList();
+ List<ast.Node> switchCases = node.cases.nodes.toList();
Johnni Winther 2016/01/26 10:53:49 Type assertion failure in checked mode.
karlklose 2016/01/26 11:43:07 This was fixed in 091d807d71b792e08818bf6b5bc98f05
for (ast.SwitchCase switchCase in switchCases) {
for (ast.Node labelOrCase in switchCase.labelsAndCases) {
if (labelOrCase is ast.Label) {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/resolution/class_members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698