fix(tests): correctly serialize param name

This commit is contained in:
2026-06-18 12:43:02 +02:00
parent ad86446a2d
commit 020824d1f8

View File

@@ -186,7 +186,7 @@ class MidasAstJsonSerializer(
def _serialize_func_arg(self, arg: FunctionType.Argument) -> dict:
return {
"name": arg.name,
"name": arg.name.lexeme if arg.name is not None else None,
"type": arg.type.accept(self),
"required": arg.required,
}