> Solitude is right, but there is another problem with square brackets together 
> with UFCS in Nim - a.b[T](https://forum.nim-lang.org/postActivity.xml) 
> doesn't work, for that a new syntax extension was introduced - 
> a.b[:T](https://forum.nim-lang.org/postActivity.xml) so it's not ambiguou

The problem with `a.b[T]()` is not that it ambiguous, it isn't, but the 
precedence is wrong for generics, it's always interpreted as `(a.b)[T]()` 
(which is what you want for array indexing!). But you don't want to instantiate 
`a.b`.

These problems are really symptoms of the ASCII age that we never left behind.

Reply via email to