summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/internal/catmsg/codec.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/internal/catmsg/codec.go')
-rwxr-xr-xvendor/golang.org/x/text/internal/catmsg/codec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/text/internal/catmsg/codec.go b/vendor/golang.org/x/text/internal/catmsg/codec.go
index e959b08f9..ab587f856 100755
--- a/vendor/golang.org/x/text/internal/catmsg/codec.go
+++ b/vendor/golang.org/x/text/internal/catmsg/codec.go
@@ -99,7 +99,7 @@ func (e *Encoder) EncodeMessageType(h Handle) {
// EncodeMessage serializes the given message inline at the current position.
func (e *Encoder) EncodeMessage(m Message) error {
- e = &Encoder{root: e.root, parent: e}
+ e = &Encoder{root: e.root, parent: e, tag: e.tag}
err := m.Compile(e)
if _, ok := m.(*Var); !ok {
e.flushTo(e.parent)