<br><br><div class="gmail_quote">On Sat, Oct 23, 2010 at 9:17 PM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu">leves@elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, 24 Oct 2010, <a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Levente Uzonyi uploaded a new version of Tests to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Tests-ul.97.mcz" target="_blank">http://source.squeak.org/trunk/Tests-ul.97.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Tests-ul.97<br>
Author: ul<br>
Time: 24 October 2010, 6:06:56.495 am<br>
UUID: f5f99e31-06dd-3048-b380-77cc97804a79<br>
Ancestors: Tests-eem.96<br>
<br>
Bitmap &gt;&gt; #writeOn: raises an error, because it evaluates code which sends #inline: and #var:declareC:, etc. Since these methods were moved to VMMaker these sends result in a DNU.<br></blockquote></div></blockquote>
<div><br></div><div>Oops.  I didn&#39;t see that coming when I moved these into VMMaker.  Sorry.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
<br></div>
The easiest solution is to change these sends to the new pragma format which is supported by all current VMMakers. What do you think?<br></blockquote><div><br></div><div>+1</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888">
<br>
<br>
Levente</font><div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=============== Diff against Tests-eem.96 ===============<br>
<br>
Item was changed:<br>
+ ----- Method: BitmapBugz&gt;&gt;testBitmapByteAt (in category &#39;tests&#39;) -----<br>
- ----- Method: BitmapBugz&gt;&gt;testBitmapByteAt (in category &#39;as yet unclassified&#39;) -----<br>
 testBitmapByteAt<br>
        | bm |<br>
        bm := Bitmap new: 1.<br>
        1 to: 4 do:[:i|<br>
                self should:[bm byteAt: i put: 1000] raise: Error.<br>
        ].!<br>
<br>
Item was added:<br>
+ ----- Method: BitmapBugz&gt;&gt;testWriteOn (in category &#39;tests&#39;) -----<br>
+ testWriteOn<br>
+<br>
+       | original binary copy |<br>
+       original := Bitmap new: 1.<br>
+       original byteAt: 1 put: 42.<br>
+       binary := ByteArray streamContents: [ :stream |<br>
+               original writeOn: stream ].<br>
+       copy := Bitmap newFromStream: binary readStream.<br>
+       self assert: original = copy!<br>
<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>