Commits

Alexander Schremmer committed 5d0b653

... belongs to last commit.

  • Participants
  • Parent commits 83b2dcd
  • Branches sepcomp

Comments (0)

Files changed (1)

File pypy/rpython/rclass.py

             if not s_value.isNone() and s_value.getKind() == description.MethodDesc:
                 s_value = self.classdef.lookup_filter(s_value)
                 funcdescs = [mdesc.funcdesc for mdesc in s_value.descriptions]
-                return annmodel.SomePBC(funcdescs)
+                return annmodel.SomePBC(funcdescs, force_virtual_access=any(mdesc.force_virtual_access for mdesc in s_value.descriptions))
         return None   # not a method
 
     def get_ll_eq_function(self):