OpenDream
OpenDream copied to clipboard
Add a warning for doing assignment in a conditional
Example from coderbus:
var/thing="Thing"
if(thing="Thong")
world.log<<thing
Output: Thong
This is a pretty common typo that the compiler could easily catch, but we might need to come up with a sane way to disable a warning in DM like C# pragmas.