| Index: pkg/analyzer/lib/src/task/strong_mode.dart
|
| diff --git a/pkg/analyzer/lib/src/task/strong_mode.dart b/pkg/analyzer/lib/src/task/strong_mode.dart
|
| index 37c91cf143290fa66cdbeea7165e29d2cb94e56d..09176840c4d82a0a04d1c4400c92a78ab9096432 100644
|
| --- a/pkg/analyzer/lib/src/task/strong_mode.dart
|
| +++ b/pkg/analyzer/lib/src/task/strong_mode.dart
|
| @@ -88,14 +88,14 @@ class InstanceMemberInferrer {
|
| * compilation [unit].
|
| */
|
| void inferCompilationUnit(CompilationUnitElement unit) {
|
| - unit.types.forEach((ClassElement classElement) {
|
| + for (ClassElement classElement in unit.types) {
|
| try {
|
| _inferClass(classElement);
|
| } on _CycleException {
|
| // This is a short circuit return to prevent types that inherit from
|
| // types containing a circular reference from being inferred.
|
| }
|
| - });
|
| + }
|
| }
|
|
|
| /**
|
|
|