<div dir="ltr">No it is not a bug, there is no s() in B, you can fix this by adding:<div><br><div><div>alias s = A.s;<br></div></div></div><div><br></div><div>to class B</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 16, 2017 at 7:21 AM, apz28 via Digitalmars-d-learn <span dir="ltr"><<a href="mailto:digitalmars-d-learn@puremagic.com" target="_blank">digitalmars-d-learn@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">abstract class A<br>
{<br>
string _s;<br>
<br>
@property:<br>
final string s()<br>
{<br>
return _s;<br>
}<br>
<br>
A s(string x)<br>
{<br>
_s = x;<br>
return this;<br>
}<br>
}<br>
<br>
class B : A<br>
{<br>
@property:<br>
final override A s(string x)<br>
{<br>
_s = x;<br>
return this;<br>
}<br>
}<br>
<br>
void main()<br>
{<br>
B b = new B();<br>
b.s = "abc";<br>
assert(b.s == "abc");<br>
}<br>
<br>
Compilation output<br>
/d536/f408.d(32): Error: function f408.B.s (string x) is not callable using argument types ()<br>
</blockquote></div><br></div>