Commits

Manuel Jacob committed 61380dc

Don't allow mixing of SomeChar and SomeUnicodeCodePoint.

  • Participants
  • Parent commits 4987a52

Comments (0)

Files changed (1)

File rpython/annotator/binaryop.py

         return SomeChar(no_nul=no_nul)
 
 
-class __extend__(pairtype(SomeChar, SomeUnicodeCodePoint),
-                 pairtype(SomeUnicodeCodePoint, SomeChar)):
-    def union((uchr1, uchr2)):
-        return SomeUnicodeCodePoint()
-
 class __extend__(pairtype(SomeUnicodeCodePoint, SomeUnicodeCodePoint)):
     def union((uchr1, uchr2)):
         return SomeUnicodeCodePoint()