lib: Update libs to use correctly ascii and code_point
[nit.git] / contrib / pep8analysis / src / model / operands.nit
index 592e1af..d74d1f1 100644 (file)
@@ -24,12 +24,12 @@ redef class ANumberValue
 end
 
 redef class ACharValue
-       redef fun to_i do return n_char.content.first.ascii
+       redef fun to_i do return n_char.content.first.code_point
 end
 
 redef class AStringValue
        # legal but no not recommended
-       redef fun to_i do return n_string.content.first.ascii
+       redef fun to_i do return n_string.content.first.code_point
 end
 
 redef class AHexValue