Map<ValueNode, TypeExpr> valueNodeToUnconstrainedTypeMap = getValueNodeToUnconstrainedTypeMap();
Map<ValueNode, ValueNode> commitValueMap = valueEditorManager.getValueNodeCommitHelper().getCommitValues(oldChild, newChild, valueNodeToUnconstrainedTypeMap);
PreludeTypeConstants typeConstants = valueEditorManager.getPreludeTypeConstants();
TypeExpr charType = typeConstants.getCharType();
ValueNode newValueNodeFromMap = commitValueMap.get(oldValueNode);
// HACK: if it's a ListOfCharValueNode, convert it to a ListValueNode.
// What we need is a way to guarantee the type of value node that is returned by getCommitValues().
// This is not possible with the current form of transmuteValueNode() though.
if (newValueNodeFromMap instanceof ListOfCharValueNode) {