Merge: lib/standard/string: Introducting Copy-on-Write FlatBuffers
[nit.git] / lib / string_experimentations / utf8.nit
index ccc3391..5feef35 100644 (file)
@@ -415,7 +415,7 @@ end
 redef class OFStream
        redef fun write(s)
        do
-               assert _writable
+               assert is_writable
                if s isa FlatText then
                        if s isa FlatString then
                                write_native(s.to_cstring, s.bytelen)