Over at /vg/station, we discovered that labels can be absolutely pathed. This is very cool, if dubiously useful. goto can accept an absolutely-pathed label, as long as said label is in the correct proc. However, as far as the compiler is concerned, goto can also accept a typepath. This obviously does not work, and causes Dream Daemon to crash with an illegal operation error.
Code Snippet (if applicable) to Reproduce Problem:
goto /
That's (tied for) the simplest case, but it will also happen with any valid typepath following the goto. (Not invalid ones, though.)
Expected Results:
Fails to compile, with a bad link error or the like.
Actual Results:
Compiles, but crashes Dream Daemon upon execution.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not tested, but I don't see any recent changes that seem relevant.
Workarounds:
Just don't do this