@@ -41,7 +41,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
4141 eValid
4242 };
4343
44- struct AbstrackMethodCheckerPayload {
44+ struct AbstractMethodCheckerPayload {
4545
4646 struct InvalidArgumentCountPayload {
4747 InvalidArgumentCountPayload (size_t required, size_t actual)
@@ -55,13 +55,13 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
5555 std::variant<std::monostate, InvalidArgumentCountPayload> payload;
5656 };
5757
58- llvm::Expected<std::map<llvm::StringLiteral, AbstrackMethodCheckerPayload >>
58+ llvm::Expected<std::map<llvm::StringLiteral, AbstractMethodCheckerPayload >>
5959 CheckAbstractMethodImplementation (
6060 const python::PythonDictionary &class_dict) const {
6161
6262 using namespace python ;
6363
64- std::map<llvm::StringLiteral, AbstrackMethodCheckerPayload > checker;
64+ std::map<llvm::StringLiteral, AbstractMethodCheckerPayload > checker;
6565#define SET_CASE_AND_CONTINUE (method_name, case ) \
6666 { \
6767 checker[method_name] = {case , {}}; \
@@ -102,7 +102,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
102102 } else {
103103 checker[method_name] = {
104104 AbstractMethodCheckerCases::eInvalidArgumentCount,
105- AbstrackMethodCheckerPayload ::InvalidArgumentCountPayload (
105+ AbstractMethodCheckerPayload ::InvalidArgumentCountPayload (
106106 requirement.min_arg_count , arg_info.max_positional_args )};
107107 }
108108 }
@@ -291,7 +291,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
291291 case AbstractMethodCheckerCases::eInvalidArgumentCount: {
292292 auto &payload_variant = method_checker.second .payload ;
293293 if (!std::holds_alternative<
294- AbstrackMethodCheckerPayload ::InvalidArgumentCountPayload>(
294+ AbstractMethodCheckerPayload ::InvalidArgumentCountPayload>(
295295 payload_variant)) {
296296 abstract_method_errors = llvm::joinErrors (
297297 std::move (abstract_method_errors),
@@ -300,7 +300,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
300300 obj_class_name.GetString (), method_checker.first )));
301301 } else {
302302 auto payload = std::get<
303- AbstrackMethodCheckerPayload ::InvalidArgumentCountPayload>(
303+ AbstractMethodCheckerPayload ::InvalidArgumentCountPayload>(
304304 payload_variant);
305305 abstract_method_errors = llvm::joinErrors (
306306 std::move (abstract_method_errors),
0 commit comments