| Index: compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/Elements.java b/compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| index 59e167ad7a53199245448a18c77e564915101bb8..245423de16ae9fe5aa90f6cc1ae6015eb2cf63be 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -321,8 +321,10 @@ static FieldElementImplementation fieldFromNode(DartField node,
|
| TypeVariable[] typeVariables = new TypeVariable[parameterNodes.size()];
|
| int i = 0;
|
| for (DartTypeParameter parameterNode : parameterNodes) {
|
| - typeVariables[i++] =
|
| + TypeVariable typeVariable =
|
| Elements.typeVariableFromNode(parameterNode, element).getTypeVariable();
|
| + typeVariables[i++] = typeVariable;
|
| + parameterNode.getName().setSymbol(typeVariable.getElement());
|
| }
|
| return Arrays.asList(typeVariables);
|
| }
|
|
|