1 parent
236b860cc7
commit
40f4f032c6
3 files changed
+28
-1
No files matched your search
@@ -183,9 +183,12 @@ class AbstractInstanceContext(Context):
|
||||
else:
|
||||
bound_method = BoundMethod(
|
||||
self.evaluator, self, class_context,
|
||||
self.parent_context, scope
|
||||
parent_context, scope
|
||||
)
|
||||
return bound_method.get_function_execution()
|
||||
elif scope.type == 'classdef':
|
||||
class_context = er.ClassContext(self.evaluator, scope, parent_context)
|
||||
return class_context
|
||||
else:
|
||||
raise NotImplementedError
|
||||
return class_context
|
||||
|
||||
Reference in new issue
Block a user