Index: pkg/compiler/lib/src/resolution/type_resolver.dart |
diff --git a/pkg/compiler/lib/src/resolution/type_resolver.dart b/pkg/compiler/lib/src/resolution/type_resolver.dart |
index e1a076df6982c6eacf4a11cd36f33af76d2d0820..9837a0999486284db717f99d77ba1fa51660f4c4 100644 |
--- a/pkg/compiler/lib/src/resolution/type_resolver.dart |
+++ b/pkg/compiler/lib/src/resolution/type_resolver.dart |
@@ -206,10 +206,6 @@ class TypeResolver { |
} |
} |
} else if (element.isTypeVariable) { |
- // FIXME: check enclosing, which may be not class, not typedef (so |
- // it's a generic method) then set the type to `const DynamicType()`. |
- // This should later be fixed such that we don't tell the user that they |
- // wrote `dynamic` anywhere. |
TypeVariableElement typeVariable = element; |
Element outer = |
visitor.enclosingElement.outermostEnclosingMemberOrTopLevel; |