On Wednesday, 19 August 2015 at 21:32:17 UTC, Adam D. Ruppe wrote:
On Wednesday, 19 August 2015 at 21:26:34 UTC, sigod wrote:
Consider this code:

Not a regression per se - core.time just introduced a new `to` function that is conflicting with your variable name because you imported core.time in a more local scope.

You can just do ["to": this.to] to disambiguate the name.

```
T to(string units, T, D)(D td)
```

But what compiler does with this function? How `void` appears in the error message?

Why does it even picks this function? `to` has required argument, apparently it can't be called without one.

Reply via email to