================ @@ -85,13 +85,17 @@ class ScriptedPythonInterface : virtual public ScriptedInterface { bool has_class_name = !class_name.empty(); bool has_interpreter_dict = !(llvm::StringRef(m_interpreter.GetDictionaryName()).empty()); - if (!has_class_name && !has_interpreter_dict && !script_obj) { - if (!has_class_name) - return create_error("Missing script class name."); - else if (!has_interpreter_dict) - return create_error("Invalid script interpreter dictionary."); - else - return create_error("Missing scripting object."); + + if (!has_class_name) { + return create_error("Missing script class name."); + } ---------------- xgupta wrote:
Sure, thanks. https://github.com/llvm/llvm-project/pull/94779 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits