On Thursday, 17 February 2022 at 17:53:58 UTC, bachmeier wrote: > writeln(-1.to!uint); This is -(1.to!uint). Not (-1).to!uint. Not really a WTF, imo; precedence is just something you have to know, and it works more or less the same way in most programming languages.