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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 710343002: Check enums in switch cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | pkg/compiler/lib/src/elements/modelx.dart » ('j') | pkg/compiler/lib/src/typechecker.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index eabc9913363e6283e3c2ed9bc653d7bdf9bd264b..0a885a717dbf2ddc876822589d6568169459952a 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1414,6 +1414,12 @@ abstract class MixinApplicationElement extends ClassElement {
void addConstructor(FunctionElement constructor);
}
+/// Enum declaration.
+abstract class EnumClassElement extends ClassElement {
+ /// The static field implied by the enum values.
floitsch 2014/11/12 17:52:35 static fields
Johnni Winther 2014/11/13 08:48:40 Done.
+ Iterable<FieldElement> get enumValues;
+}
+
/// The label entity defined by a labeled statement.
abstract class LabelDefinition extends Entity {
Label get label;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | pkg/compiler/lib/src/typechecker.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698