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

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

Issue 10915083: Change assert implementation to not depend on a top-level function called 'assert'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 3 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
Index: lib/compiler/implementation/elements/elements.dart
diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
index ee4791068b74d7be93fc93d8a2e55600d9f81eae..578466d127b1273fe727b866c0f888cb71159787 100644
--- a/lib/compiler/implementation/elements/elements.dart
+++ b/lib/compiler/implementation/elements/elements.dart
@@ -158,6 +158,7 @@ class Element implements Hashable {
bool isTypedef() => kind === ElementKind.TYPEDEF;
bool isTypeVariable() => kind === ElementKind.TYPE_VARIABLE;
bool isField() => kind === ElementKind.FIELD;
+ bool isAbstractField() => kind === ElementKind.ABSTRACT_FIELD;
bool isGetter() => kind === ElementKind.GETTER;
bool isSetter() => kind === ElementKind.SETTER;
bool isAccessor() => isGetter() || isSetter();
« no previous file with comments | « lib/compiler/implementation/constants.dart ('k') | lib/compiler/implementation/js_backend/constant_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698