Chromium Code Reviews| Index: lib/compiler/implementation/dart_backend/backend.dart |
| diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart |
| index 41bf6e975620d1f44f96f004318533d54e04575a..2df3e6c69645753108de4e54263c2e331f5d02c1 100644 |
| --- a/lib/compiler/implementation/dart_backend/backend.dart |
| +++ b/lib/compiler/implementation/dart_backend/backend.dart |
| @@ -218,6 +218,8 @@ class DartBackend extends Backend { |
| for (final element in library.localMembers) { |
| if (element is ClassElement) { |
| ClassElement classElement = element; |
| + // Make sure we parsed the class to initialize its local members. |
| + element.parseNode(compiler); |
|
Anton Muhin
2012/09/26 13:49:47
Feels somewhat like a hack. May you add a TODO to
Roman
2012/09/26 14:00:34
Done.
|
| for (final member in classElement.localMembers) { |
| final name = member.name.slowToString(); |
| // Skip operator names. |