The manual [says](https://nim-lang.org/docs/manual.html#syntax-precedence):

> Whether an operator is used as a prefix operator is also affected by 
> preceding whitespace (this parsing change was introduced with version 
> 0.13.0): > > echo $foo > # is parsed as > echo($foo)

Same applies here. `RIn -1` is parsed as ``RIn(-1)`. The example the manual 
gives here might be hard for one to generalize, but the manual does contain 
more clarities for popular pitfalls, the other biggest one I can think of being 
[limitations of the method call 
syntax](https://nim-lang.org/docs/manual.html#templates-limitations-of-the-method-call-syntax).

Reply via email to