[Issue 11729] protected toString causes strange error message

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 5 14:00:33 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=11729

--- Comment #5 from RazvanN <razvan.nitu1305 at gmail.com> ---
There is nothing wrong with the compiler message. The toString method is not
visible outside the module it was declared so the template constraint
hasToString!(T, Char) fails (as it should). I think we should close this.

--


More information about the Digitalmars-d-bugs mailing list