On Monday, 2 March 2015 at 15:46:28 UTC, Francesco Cattoglio
wrote:
Taken from
http://forum.dlang.org/thread/[email protected]
trying to instantiate an Array!MyClass fails with a rather
obscure error message if the MyClass has a member function
"void init()":
http://dpaste.dzfl.pl/16d202b7124d
Is this a std library bug, or should this be considered a
mistake on the library user side to name a member function
"init"?
I consider both your type and the library buggy. The type because
.init is a property of every type with a special meaning, which
is violated by your class. The library because it emits such a
useful error message. Please file a bug report.