fix(checker): allow calling methods on TopType and UnknownType
This commit is contained in:
@@ -257,6 +257,9 @@ class PythonTyper(
|
|||||||
"""
|
"""
|
||||||
unfolded: Type = unfold_type(obj[1])
|
unfolded: Type = unfold_type(obj[1])
|
||||||
match unfolded:
|
match unfolded:
|
||||||
|
case TopType() | UnknownType():
|
||||||
|
return UnknownType()
|
||||||
|
|
||||||
case DataFrameType():
|
case DataFrameType():
|
||||||
return self.frame_mgr.call(
|
return self.frame_mgr.call(
|
||||||
method=method_name,
|
method=method_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user