compiler: Updated toolchain for proper byte literal support
[nit.git] / src / rapid_type_analysis.nit
index bcd9f8e..e27a98e 100644 (file)
@@ -517,6 +517,13 @@ redef class AIntExpr
        end
 end
 
+redef class AByteExpr
+       redef fun accept_rapid_type_visitor(v)
+       do
+               v.add_type(self.mtype.as(MClassType))
+       end
+end
+
 redef class AFloatExpr
        redef fun accept_rapid_type_visitor(v)
        do