diff options
Diffstat (limited to 'src/core/parser/stack')
-rw-r--r-- | src/core/parser/stack/DocumentHandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/parser/stack/DocumentHandler.cpp b/src/core/parser/stack/DocumentHandler.cpp index 7564fad..2228f11 100644 --- a/src/core/parser/stack/DocumentHandler.cpp +++ b/src/core/parser/stack/DocumentHandler.cpp @@ -768,7 +768,9 @@ bool DocumentChildHandler::convertData(Handle<FieldDescriptor> field, } // Now try to resolve the value for the primitive type - return valid && scope().resolveValue(data, type, logger); + return valid && + scope().resolveValue(data, field->getParent().cast<Node>(), type, + logger); } bool DocumentChildHandler::data() |