fix(checker): remove redundant instance check
This commit is contained in:
@@ -486,7 +486,6 @@ class PythonTyper(
|
|||||||
self._assign_sub(location, var, index, value_type)
|
self._assign_sub(location, var, index, value_type)
|
||||||
|
|
||||||
case _:
|
case _:
|
||||||
if not isinstance(target, p.VariableExpr):
|
|
||||||
self.logger.warning(f"Unsupported assignment to {target}")
|
self.logger.warning(f"Unsupported assignment to {target}")
|
||||||
self.reporter.warning(
|
self.reporter.warning(
|
||||||
target.location, f"Unsupported assignment to {target}"
|
target.location, f"Unsupported assignment to {target}"
|
||||||
|
|||||||
Reference in New Issue
Block a user