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

Unified Diff: pkg/fletchc/lib/src/fletch_system_builder.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Address ahe's review Created 5 years 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 | « pkg/fletchc/lib/src/fletch_registry.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/fletch_system_builder.dart
diff --git a/pkg/fletchc/lib/src/fletch_system_builder.dart b/pkg/fletchc/lib/src/fletch_system_builder.dart
index 59f2fa99ad415f41f4352448b777d38ef9cd647f..6399b5306f54a21a4182df87b07a379571f23ab0 100644
--- a/pkg/fletchc/lib/src/fletch_system_builder.dart
+++ b/pkg/fletchc/lib/src/fletch_system_builder.dart
@@ -488,7 +488,7 @@ class FletchSystemBuilder {
// TODO(ajohnsen): Avoid usage of builders (should be FletchClass).
FletchClassBuilder classBuilder = _classBuildersByElement[classElement];
- void addIfField(MemberElement member) {
+ void addIfInstanceField(MemberElement member) {
if (!member.isField || member.isStatic || member.isPatch) return;
FieldElement fieldElement = member;
ConstantValue fieldValue = value.fields[fieldElement];
@@ -503,9 +503,9 @@ class FletchSystemBuilder {
if (currentClass.superclass != null) {
addFields(currentClass.superclass);
}
- currentClass.forEachLocalMember(addIfField);
+ currentClass.forEachLocalMember(addIfInstanceField);
if (currentClass.isPatched) {
- currentClass.patch.forEachLocalMember(addIfField);
+ currentClass.patch.forEachLocalMember(addIfInstanceField);
}
}
« no previous file with comments | « pkg/fletchc/lib/src/fletch_registry.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698