Chromium Code Reviews| 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 7c538b5906a3470fc5834d6cab81d74e086ee0e8..fdc1dde9421f022b2460365aab4a7473db6adfef 100644 |
| --- a/pkg/compiler/lib/src/elements/elements.dart |
| +++ b/pkg/compiler/lib/src/elements/elements.dart |
| @@ -410,8 +410,6 @@ abstract class Element implements Entity { |
| Scope buildScope(); |
| - void diagnose(Element context, DiagnosticListener listener); |
| - |
| // TODO(johnniwinther): Move this to [AstElement]. |
| /// Returns the [Element] that holds the [TreeElements] for this element. |
| AnalyzableElement get analyzableElement; |
| @@ -820,6 +818,10 @@ abstract class AmbiguousElement extends Element { |
| Map get messageArguments; |
| Element get existingElement; |
| Element get newElement; |
| + |
| + /// Compute the info message associated with an error/warning on [context]. |
|
sigurdm
2015/09/24 12:51:21
message -> messages
Johnni Winther
2015/09/24 13:00:51
Done.
|
| + List<DiagnosticMessage> computeInfos( |
| + Element context, DiagnosticListener listener); |
| } |
| // TODO(kasperl): This probably shouldn't be called an element. It's |