Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1221)

Unified Diff: lib/compiler/implementation/elements/elements.dart

Issue 10873033: Support non-const instance field initializers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/compiler/implementation/resolver.dart » ('j') | lib/compiler/implementation/resolver.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/elements/elements.dart
===================================================================
--- lib/compiler/implementation/elements/elements.dart (revision 11297)
+++ lib/compiler/implementation/elements/elements.dart (working copy)
@@ -1303,7 +1303,7 @@
do {
if (seen.contains(classElement)) return;
seen.add(classElement);
- for (Element element in classElement.localMembers) {
+ for (Element element in classElement.localMembers.reverse()) {
kasperl 2012/08/24 11:50:23 Add a comment that explain why the order is import
ngeoffray 2012/08/24 13:01:41 Done.
f(classElement, element);
}
if (includeBackendMembers) {
« no previous file with comments | « no previous file | lib/compiler/implementation/resolver.dart » ('j') | lib/compiler/implementation/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698