Skip to content

Commit

Permalink
Hack for python#8334
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlee committed Jan 26, 2020
1 parent 577ed31 commit 74f22d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/plugins/dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def _freeze(self, attributes: List[DataclassAttribute]) -> None:
sym_node = info.names.get(attr.name)
if sym_node is not None:
var = sym_node.node
assert isinstance(var, Var)
# assert isinstance(var, Var)
var.is_property = True
else:
var = attr.to_var()
Expand Down

0 comments on commit 74f22d7

Please sign in to comment.