On Tuesday, 7 November 2017 at 21:32:26 UTC, Adam D. Ruppe wrote:
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
Awesome, great, thanks Adam!!!
I certainly was, and that must have been what was in play.
And thanks for the pointer to Object's methods (which are very
few, as i thought).
dan