Index: src/property.cc |
diff --git a/src/property.cc b/src/property.cc |
index 564d5548c4770a1c5b11e66f82e46e63b52ec504..1c2666b00ac436893c81db3da6280fd8b8b8b6be 100644 |
--- a/src/property.cc |
+++ b/src/property.cc |
@@ -25,8 +25,8 @@ std::ostream& operator<<(std::ostream& os, |
Descriptor Descriptor::DataField(Handle<Name> key, int field_index, |
PropertyAttributes attributes, |
Representation representation) { |
- return Descriptor(key, FieldType::Any(key->GetIsolate()), attributes, DATA, |
- representation, field_index); |
+ return DataField(key, field_index, FieldType::Any(key->GetIsolate()), |
+ attributes, representation); |
} |
// Outputs PropertyDetails as a dictionary details. |