| Index: mojo/dart/packages/mojo/lib/src/union.dart
|
| diff --git a/mojo/dart/packages/mojo/lib/src/union.dart b/mojo/dart/packages/mojo/lib/src/union.dart
|
| index ce5e4d763726a55a500b37079a9b006c47ca35fc..87e72e79641b9e9772f86ac1599f856639b37b2e 100644
|
| --- a/mojo/dart/packages/mojo/lib/src/union.dart
|
| +++ b/mojo/dart/packages/mojo/lib/src/union.dart
|
| @@ -8,8 +8,7 @@ abstract class Union {
|
| void encode(Encoder encoder, int offset);
|
| }
|
|
|
| -class UnionError {
|
| -}
|
| +class UnionError {}
|
|
|
| class UnsetUnionTagError extends UnionError {
|
| final curTag;
|
| @@ -18,7 +17,7 @@ class UnsetUnionTagError extends UnionError {
|
| UnsetUnionTagError(this.curTag, this.requestedTag);
|
|
|
| String toString() {
|
| - return "Tried to read unset union member: {{requestedTag}} "
|
| - "current member: {{curTag}}.";
|
| + return "Tried to read unset union member: $requestedTag "
|
| + "current member: $curTag.";
|
| }
|
| }
|
|
|