Yes I know. To me, saving a method should make sure that we can reload it and this is not the case. So to me this is a bug. try to fileout getPreambleFrom: aFileStream at: position | writeStream | writeStream := String new writeStream. position to: 0 by: -1 do: [ :p | | c | aFileStream position: p. c := aFileStream basicNext. c == $! ifTrue: [^ writeStream contents reversed] ifFalse: [writeStream nextPut: c]] :) I do not see why the system should not save it correctly even if !! is used as a chunk separator. Stef On Jul 18, 2011, at 4:55 PM, Lukas Renggli wrote:
!! Is the escaping of a single ! (like '' is the escaping of ' in a string), because the ! Is used to separate junks.
Lukas
On Monday, 18 July 2011, stephane ducasse <stephane.ducasse@free.fr> wrote:
Hi
with veronica we found a fun bug. If you have a method with a $! and you file it out. you get $!! in the fileouted file.
http://code.google.com/p/pharo/issues/detail?id=4531
Stef
-- Lukas Renggli www.lukas-renggli.ch