Index: pkg/compiler/lib/src/js/js.dart |
diff --git a/pkg/compiler/lib/src/js/js.dart b/pkg/compiler/lib/src/js/js.dart |
index 2625988b889f9fada97d46497782d7f9e90b88c7..f9d2a66ba352e77d3348f005cc40cf15bb48e3bd 100644 |
--- a/pkg/compiler/lib/src/js/js.dart |
+++ b/pkg/compiler/lib/src/js/js.dart |
@@ -116,7 +116,8 @@ class TokenCounter extends BaseVisitor { |
} |
} |
- void countTokens(Node node) => node.accept(this); |
+ // TODO(28763): Remove `<dynamic>` when issue 28763 is fixed. |
+ void countTokens(Node node) => node.accept<dynamic>(this); |
} |
abstract class ReferenceCountedAstNode implements Node { |