Index: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
=================================================================== |
--- dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart (revision 29908) |
+++ dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart (working copy) |
@@ -345,9 +345,9 @@ |
computeTargetType(Compiler compiler, InterfaceType newType) => unsupported(); |
- String toString() { |
- return '<$name: ${messageKind.message(messageArguments)}>'; |
- } |
+ String get message => '${messageKind.message(messageArguments)}'; |
+ |
+ String toString() => '<$name: $message>'; |
} |
/// A message attached to a [WarnOnUseElementX]. |