November 22, 2016
On Sunday, 20 November 2016 at 12:08:23 UTC, Ilya Yaroshenko wrote:

> You can use builtin complex numbers (cfloat/cdouble/creal). The idea of std.complex is wrong . Mir GLAS uses builtin complex numbers and I don't think they will be really deprecated. --Ilya

Good to know! The builtin syntax is more reasonable than std.complex.
November 22, 2016
On Sunday, 20 November 2016 at 11:46:04 UTC, Marc Schütz wrote:

> Try placing it outside the function. Method call syntax doesn't work with nested functions, see here:
>
> https://dlang.org/spec/function.html#pseudo-member
>
> "The reason why local symbols are not considered by UFCS, is to avoid unexpected name conflicts."

Aha! Now it works. Thank you for the explanation.
1 2
Next ›   Last »