Why does not UFCS work for method defined inside unittest block?

Ky-Anh Huynh saigon at example.net
Wed Aug 1 07:25:56 UTC 2018


On Tuesday, 31 July 2018 at 08:42:28 UTC, Simen Kjærås wrote:
> 
>
> From https://dlang.org/spec/function.html#pseudo-member:
> "A free function can be called with a syntax that looks as if 
> the function were a member function of its first parameter 
> type."
>
>  [...]

Thanks a lot Simen :)



More information about the Digitalmars-d-learn mailing list