ID:2665358
 
BYOND Version:513 & 514
Operating System:Windows 10 Pro
Web Browser:Chrome 89.0.4389.90
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
If either 0 or more than 1 parameter is given to `lentext`, the resulting byond binary will over-pop the proc's stack and crash.

I know it's deprecated but the crash still caught me off guard, so maybe it'll affect somebody else too.

Code Snippet (if applicable) to Reproduce Problem:
/world/New()
lentext()


Expected Results:
It should compile error just like `length` does.

Actual Results:
Crash

Does the problem occur:
Every time

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
The behaviour is the same on 513.1534 and 514.1549. I didn't try further back.

Workarounds:
Use length lol