Index: pkg/kernel/lib/verifier.dart |
diff --git a/pkg/kernel/lib/verifier.dart b/pkg/kernel/lib/verifier.dart |
index 8380279ff45c9c77328fa7b458641a2c186081d1..c923a8d7d8ae63fa57ba91655b87a83eda949e60 100644 |
--- a/pkg/kernel/lib/verifier.dart |
+++ b/pkg/kernel/lib/verifier.dart |
@@ -337,8 +337,7 @@ class VerifyingVisitor extends RecursiveVisitor { |
!(parent is ForStatement && parent.body != node) && |
!(parent is ForInStatement && parent.body != node) && |
parent is! Let && |
- parent is! LocalInitializer && |
- parent is! Typedef) { |
+ parent is! LocalInitializer) { |
problem( |
node, |
"VariableDeclaration must be a direct child of a Block, " |