We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac40463 commit b8a387dCopy full SHA for b8a387d
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
@@ -85,7 +85,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
85
bool has_class_name = !class_name.empty();
86
bool has_interpreter_dict =
87
!(llvm::StringRef(m_interpreter.GetDictionaryName()).empty());
88
- if (!has_class_name && !has_interpreter_dict && !script_obj) {
+ if (!has_class_name || !has_interpreter_dict || !script_obj) {
89
if (!has_class_name)
90
return create_error("Missing script class name.");
91
else if (!has_interpreter_dict)
0 commit comments