Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Fix type error in mypy_plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Mar 19, 2021
1 parent 6a92273 commit fbb3bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adt/mypy_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _get_and_delete_cases(context: ClassDefContext
caseDefs.append(
_CaseDef(context=context,
name=get_name(var),
types=var.type.ret_type.args))
types=list(var.type.ret_type.args)))
removed.append(i)

for i in reversed(removed):
Expand Down

0 comments on commit fbb3bf6

Please sign in to comment.