Closed NQNStudios closed 9 months ago
(unless uiKeyMappings.exists button (dictSet uiKeyMappings button otherThing))
Is it possible to detect at compile-time that the first argument to if is a function, which is probably a mistake where you meant to be CALLING the function?
Detecting that button is just a symbol doing nothing would catch this, and doesn't require knowing that it comes after a function
button
Is it possible to detect at compile-time that the first argument to if is a function, which is probably a mistake where you meant to be CALLING the function?