Implement Self, fixes #2023, fixes #2068

This commit is contained in:
Dave Halter committed 2026-04-29 17:51:01 +02:00
1 parent c30732eb04
commit aa72381ed1
16 files changed
+92 -47

No files matched your search

+1 -1
View File
@@ -466,7 +466,7 @@ class _ActualTreeParamName(BaseTreeParamName):
self.function_value, self._get_param_node(),
ignore_stars=ignore_stars)
if execute_annotation:
values = values.execute_annotation()
values = values.execute_annotation(self.function_value.get_default_param_context())
return values
def infer_default(self):