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

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

Issue 20742002: Clean up error handling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added documentation guide lines. Created 7 years, 5 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: dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 7703b26889ee72ad6656d250fc7b4ad8d20554b5..46ad4f374a81ddf48fa3c0295d9a0dbb697d986e 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -14,6 +14,7 @@ import '../dart2jslib.dart' show InterfaceType,
DartType,
TypeVariableType,
TypedefType,
+ DualKind,
MessageKind,
DiagnosticListener,
Script,
@@ -579,7 +580,7 @@ abstract class ErroneousElement extends Element implements FunctionElement {
}
abstract class AmbiguousElement extends Element {
- MessageKind get messageKind;
+ DualKind get messageKind;
Map get messageArguments;
Element get existingElement;
Element get newElement;

Powered by Google App Engine
This is Rietveld 408576698