add return scope to xml.toType

This commit is contained in:
dkorpel 2021-05-29 14:22:20 +02:00 committed by The Dlang Bot
parent 3dad916640
commit f62e725c91

View file

@ -2959,7 +2959,7 @@ private alias Err = CheckException;
private
{
inout(T) toType(T)(inout Object o)
inout(T) toType(T)(inout return scope Object o)
{
T t = cast(T)(o);
if (t is null)