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])
|
||||
match unfolded:
|
||||
case TopType() | UnknownType():
|
||||
return UnknownType()
|
||||
|
||||
case DataFrameType():
|
||||
return self.frame_mgr.call(
|
||||
method=method_name,
|
||||
|
||||
Reference in New Issue
Block a user