diff --git a/src/object.di b/src/object.di index 9ae8ea7476..aee54e9bc1 100644 --- a/src/object.di +++ b/src/object.di @@ -549,7 +549,7 @@ auto byKeyValue(T : Value[Key], Value, Key)(T aa) pure nothrow @nogc @property cast(Value*)_aaRangeFrontValue(r)); } void popFront() { _aaRangePopFront(r); } - Result save() { return this; } + @property Result save() { return this; } } return Result(_aaRange(cast(void*)aa)); diff --git a/src/object_.d b/src/object_.d index caead15b7a..e065815775 100644 --- a/src/object_.d +++ b/src/object_.d @@ -2149,7 +2149,7 @@ auto byKeyValue(T : Value[Key], Value, Key)(T aa) pure nothrow @nogc @property cast(Value*)_aaRangeFrontValue(r)); } void popFront() { _aaRangePopFront(r); } - Result save() { return this; } + @property Result save() { return this; } } return Result(_aaRange(cast(void*)aa));