In OScript I often do something like this:
// GetScript() returns a ScriptScript s = $MyModule.Utils.GetScript()// Execute itAssoc results = s()
This compiles and works fine. However, I get an error if I simplify the line to the following:
Assoc results = $MyModule.Utils.GetScript()()
It still compiles and runs, but CSIDE places a red error marker next to the line with the text funcReturnTypes is empty. Is there a way to surpress these error messages?
Another pattern I often use is something like this:
if IsDefined( value=$MyModule.Utils.GetValue() ) // do something with value, which is definedend
This results in a Assignment expression found in another expression. Did you mean == instead? warning. Same question: Is there a way to supress this?