<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Folks,<br>
<br>
On 1/11/2023 10:13 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:f7c7a98e-baa3-88ad-a90a-1c58544dde6e@free.fr"
type="cite">
<blockquote type="cite"
cite="mid:CAKDUZVi=9T6hTDb0y63T5SiDaOSUOGHeURCZsZcyW49rqZoGfw@mail.gmail.com">Finally
the Cuis-Smalltalk book says that the following will return
false, it does in squeak but in Cuis it returns true.<br>
<br>
'hello' == 'hello' copy<br>
</blockquote>
<p>Good catch! Thanks. I think it is a bug related to the recent
adoption of Unicode as the default string representation in Cuis
because :</p>
<p><font face="monospace">(String withAll: 'hello') == (String
withAll: 'hello') copy<br>
=> false<br>
</font></p>
<p>Adoption of Unicode as the default string representation in
Cuis is an important change impacting many area and external
package of Cuis. So it mY take a few cycles to get it bug free
but it is a big win in the long term.</p>
</blockquote>
<br>
Yes. UnicodeStrings can not be modified (they are effectively
immutable), so #shallowCopy and #copy just answer the receiver. We'd
need to update the CuisBook.<br>
<br>
Thanks!<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>