aboutsummaryrefslogtreecommitdiffstats
path: root/unpack.go
diff options
context:
space:
mode:
Diffstat (limited to 'unpack.go')
-rw-r--r--unpack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack.go b/unpack.go
index 11718b4..62ee061 100644
--- a/unpack.go
+++ b/unpack.go
@@ -82,7 +82,7 @@ func buildPropertyMap(namePrefix string, propertyDefs []*parser.Property,
propertyMap map[string]*packedProperty) (errs []error) {
for _, propertyDef := range propertyDefs {
- name := namePrefix + propertyDef.Name.Name
+ name := namePrefix + propertyDef.Name
if first, present := propertyMap[name]; present {
if first.property == propertyDef {
// We've already added this property.