While working on my (fairly standard) ink script, the inkcpp compiler keeps outputting the message from the title.
After some research, I found that inkle/ink@ee008e5 (in 2017!) added the _ command as a new name for Negate, calling ~ Invert.
I don't fully understand the distinctions of various commands, but I assume Negate means the unary multiply by -1 operator.
Inkcpp still calls ~ Negate and does not handle _ at all. Surprisingly, so far I haven't noticed actual errors related to this while running my ink script, but maybe I just wasn't paying attention.
I'm also surprised that this hasn't been noticed yet, since the command has been part of ink for a very long time. Is there a reason this is not part of inkcpp? I would be happy to give it a shot and add it, but I'm not sure what the exact steps are to do it correctly.
While working on my (fairly standard) ink script, the inkcpp compiler keeps outputting the message from the title.
After some research, I found that inkle/ink@ee008e5 (in 2017!) added the
_command as a new name forNegate, calling~Invert.I don't fully understand the distinctions of various commands, but I assume Negate means the unary
multiply by -1operator.Inkcpp still calls
~Negateand does not handle_at all. Surprisingly, so far I haven't noticed actual errors related to this while running my ink script, but maybe I just wasn't paying attention.I'm also surprised that this hasn't been noticed yet, since the command has been part of ink for a very long time. Is there a reason this is not part of inkcpp? I would be happy to give it a shot and add it, but I'm not sure what the exact steps are to do it correctly.