OpenDream
OpenDream copied to clipboard
Constant evaluation for native functions is not implemented
https://github.com/OpenDreamProject/OpenDream/blob/1b80c46ef2ffcabcd4e6cea0cffe52ac65fbc0b1/DMCompiler/DM/DMExpression.cs#L51-L55
Should be implemented for ProcCall
Besides the compiler has a superficial understanding of knowing and handling what global procs are native and which are not. This need to be improved and extended upon.
Associated test file: https://github.com/OpenDreamProject/OpenDream/blob/1b80c46ef2ffcabcd4e6cea0cffe52ac65fbc0b1/Content.Tests/DMProject/Broken%20Tests/Const/ConstProc.dm#L1-L6