On Tuesday, 7 November 2017 at 21:25:00 UTC, dan wrote:
I looked in my distribution's object.d (debian stretch, gdc, in

Did you import std.stdio in the file?

If so, it is calling the std.stdio.write on the object (this is called UFCS, uniform function call syntax, the language allows you to call any free function in scope with obj.foo by rewriting it to foo(obj))

I then thought that i should just get an authoritative list of Object's methods, and hope something was documented there, but my searching for a list of for this also failed.

http://dpldocs.info/experimental-docs/object.Object.html

Reply via email to