| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index e96db49c907d6d2635a90ce8f1b9dd1fc3a8306e..734b911932bb3551eb33909957a76de027d69aca 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -688,7 +688,7 @@ class ClassElement extends ContainerElement {
|
| Map<SourceString, Element> localMembers;
|
| Map<SourceString, Element> constructors;
|
| Link<Type> interfaces = const EmptyLink<Type>();
|
| - Map<SourceString, TypeVariableElement> typeParameters;
|
| + LinkedHashMap<SourceString, TypeVariableElement> typeParameters;
|
| bool isResolved = false;
|
| bool isBeingResolved = false;
|
| // backendMembers are members that have been added by the backend to simplify
|
| @@ -700,7 +700,7 @@ class ClassElement extends ContainerElement {
|
| ClassElement(SourceString name, CompilationUnitElement enclosing)
|
| : localMembers = new Map<SourceString, Element>(),
|
| constructors = new Map<SourceString, Element>(),
|
| - typeParameters = new Map<SourceString, TypeVariableElement>(),
|
| + typeParameters = new LinkedHashMap<SourceString, TypeVariableElement>(),
|
| super(name, ElementKind.CLASS, enclosing);
|
|
|
| void addMember(Element element, DiagnosticListener listener) {
|
|
|