ID:2957146
 
BYOND Version:516.1648
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 131.0.0.0
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

The lexer is misunderstanding a combination of the . variable and the subtraction operator:

mob/verb/test()
. = .&(.-1)


Compiler error:
.4294967295: undefined type path

mob/verb/test()
. = .&(. -1)


No compiler error.

Looks like it's picking up .-1 as path lookup operator. As a type can't start with "-", this is invalid.

Login to reply.