lib/core: remove ascii method on Int and 'b' prefix
[nit.git] / src / semantize / typing.nit
index 3297d12..3463b07 100644 (file)
@@ -1577,9 +1577,7 @@ end
 redef class ACharExpr
        redef fun accept_typing(v) do
                var mclass: nullable MClass = null
-               if is_ascii then
-                       mclass = v.get_mclass(self, "Byte")
-               else if is_code_point then
+               if is_code_point then
                        mclass = v.get_mclass(self, "Int")
                else
                        mclass = v.get_mclass(self, "Char")