Index: dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart |
=================================================================== |
--- dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart (revision 29908) |
+++ dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart (working copy) |
@@ -200,7 +200,13 @@ |
visitPhiElementTypeInformation(PhiElementTypeInformation info) {} |
visitElementInContainerTypeInformation( |
ElementInContainerTypeInformation info) {} |
- visitContainerTypeInformation(ContainerTypeInformation info) {} |
+ |
+ visitContainerTypeInformation(ContainerTypeInformation info) { |
+ if (container != info) { |
+ bailout('Stored in a container'); |
+ } |
+ } |
+ |
visitConcreteTypeInformation(ConcreteTypeInformation info) {} |
visitClosureCallSiteTypeInformation(ClosureCallSiteTypeInformation info) { |