Source

pypy / pypy / translator / goal / query.py

Diff from to

pypy/translator/goal/query.py

         s_ev = annotator.binding(ev, None)
         if s_et:
             if s_et.knowntype == type:
-                if s_et.__class__ == annmodel.SomeObject:
+                if s_et.__class__ == annmodel.SomeType:
                     if hasattr(s_et, 'is_type_of') and  s_et.is_type_of == [ev]:
                         continue
                 else: