ID:2342785
 
BYOND Version:512.1406
Operating System:Windows 7 Pro 64-bit
Web Browser:Firefox 58.0
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Three issues:
A) "test"() crashes the compiler.
B) 1(1**1) is just a warning.
C) (1(1**1)) does not raise the above warning.

B/C Found in live code that used defines for polynomial coefficients.

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
Problem A
client/verb/test()
world << "test"()

Problem B
client/verb/test()
world << 1(1**1)

Problem C
client/verb/test()
world << (1(1**1))


Expected Results:
A) Error
B) Error
C) Error

Actual Results:
A) Crash
B) warning: : statement has no effect
C) Successful compilation

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.)
Does not happen in 511.

Workarounds: Checking your code for nonsense statements.