compiler/libec; ide/CodeEditor: Fixes to not resolve enums through bool conversion