@@ -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 }
@@ -286,7 +286,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
286286 case AbstractMethodCheckerCases::eInvalidArgumentCount: {
287287 auto &payload_variant = method_checker.second .payload ;
288288 if (!std::holds_alternative<
289- AbstrackMethodCheckerPayload ::InvalidArgumentCountPayload>(
289+ AbstractMethodCheckerPayload ::InvalidArgumentCountPayload>(
290290 payload_variant)) {
291291 abstract_method_errors = llvm::joinErrors (
292292 std::move (abstract_method_errors),
@@ -295,7 +295,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
295295 obj_class_name.GetString (), method_checker.first )));
296296 } else {
297297 auto payload = std::get<
298- AbstrackMethodCheckerPayload ::InvalidArgumentCountPayload>(
298+ AbstractMethodCheckerPayload ::InvalidArgumentCountPayload>(
299299 payload_variant);
300300 abstract_method_errors = llvm::joinErrors (
301301 std::move (abstract_method_errors),
0 commit comments