@staticmethod
def _list_merge(dest: Any, src: Any) -> None:
    from omegaconf import DictConfig, ListConfig, OmegaConf
    assert isinstance(dest, ListConfig)
    assert isinstance(src, ListConfig)
    if src._is_none():
        dest._set_value(None)
    elif src._is_missing():
        if (dest._metadata.element_type is Any):
            dest._metadata.element_type = src._metadata.element_type
    elif src._is_interpolation():
        dest._set_value(src._value())
    else:
        temp_target = ListConfig(content=[], parent=dest._get_parent())
        temp_target.__dict__['_metadata'] = copy.deepcopy(dest.__dict__['_metadata'])
        (is_optional, et) = _resolve_optional(dest._metadata.element_type)
        if is_structured_config(et):
            prototype = DictConfig(et, ref_type=et, is_optional=is_optional)
            for item in src._iter_ex(resolve=False):
                if isinstance(item, DictConfig):
                    item = OmegaConf.merge(prototype, item)
                temp_target.append(item)
        else:
            for item in src._iter_ex(resolve=False):
                temp_target.append(item)
        dest.__dict__['_content'] = temp_target.__dict__['_content']
    flags = src._metadata.flags
    assert (flags is not None)
    for (flag, value) in flags.items():
        if (value is not None):
            dest._set_flag(flag, value)
@staticmethod
def _list_merge(dest: Any, src: Any) -> None:
    from omegaconf import DictConfig, ListConfig, OmegaConf
    assert isinstance(dest, ListConfig)
    assert isinstance(src, ListConfig)
    if src._is_none():
        dest._set_value(None)
    elif src._is_missing():
        if (dest._metadata.element_type is Any):
            dest._metadata.element_type = src._metadata.element_type
    elif src._is_interpolation():
        dest._set_value(src._value())
    else:
        temp_target = ListConfig(content=[], parent=dest._get_parent())
        temp_target.__dict__['_metadata'] = copy.deepcopy(dest.__dict__['_metadata'])
        (is_optional, et) = _resolve_optional(dest._metadata.element_type)
        if is_structured_config(et):
            prototype = DictConfig(et, ref_type=et, is_optional=is_optional)
            for item in src._iter_ex(resolve=False):
                if isinstance(item, DictConfig):
                    item = OmegaConf.merge(prototype, item)
                temp_target.append(item)
        else:
            for item in src._iter_ex(resolve=False):
                temp_target.append(item)
        dest.__dict__['_content'] = temp_target.__dict__['_content']
    flags = src._metadata.flags
    assert (flags is not None)
    for (flag, value) in flags.items():
        if (value is not None):
            dest._set_flag(flag, value)