Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
`not` as prefix operator causes problems #9574
Even though not looks much like a function call, it is a symbol, and that causes confusion.
proc isFalse(a: int): bool = false assert not isFalse(3) # parsed as infix not with ``assert`` as argument assert not(isFalse(3)) # ^^ same
this is the original issue: #8300