Index: pkg/compiler/lib/src/universe/member_usage.dart |
diff --git a/pkg/compiler/lib/src/universe/member_usage.dart b/pkg/compiler/lib/src/universe/member_usage.dart |
index 246a1b0f92a4e374070b2b322aa3473967f68af0..e7ff2271f94e5496a5eb53d1909ee0a1d7ae89b7 100644 |
--- a/pkg/compiler/lib/src/universe/member_usage.dart |
+++ b/pkg/compiler/lib/src/universe/member_usage.dart |
@@ -49,7 +49,7 @@ abstract class _MemberUsage extends AbstractUsage<MemberUse> { |
} else if (member.isSetter) { |
return new _SetterUsage(member); |
} else { |
- assert(member.isFunction); |
+ assert(member.isFunction, failedAt(member, "Unexpected member: $member")); |
return new _FunctionUsage(member); |
} |
} |