diff --git a/NetPrints/Translator/TranslatorUtil.cs b/NetPrints/Translator/TranslatorUtil.cs index cacfdc3..32184ca 100644 --- a/NetPrints/Translator/TranslatorUtil.cs +++ b/NetPrints/Translator/TranslatorUtil.cs @@ -99,6 +99,10 @@ public static string ObjectToLiteral(object obj, TypeSpecifier type) { return $"{obj}M"; } + else if (type==TypeSpecifier.FromType()) + { + return obj.ToString().ToLower(); //Bool false is converted to False, causing the issue in compilation + } else { return obj.ToString();