<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Shadowing those reserved variables seems to be a nice property that supports (crazy) language experiments. We shouldn't make use of it in Trunk, though.<div><br></div><div>+1 for adding a preference to raise a Warning (or Error) if somebody tries that</div><div>-1 for prohibiting that in Squeak's default parser all the time</div><div><br></div><div><span style="font-size: 10pt;line-height: 1.5">Best,</span></div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 19.07.2019 04:15:28 schrieb Frank Shearar <frank.shearar@gmail.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto">The snippet from the standard says that it is illegal to use these identifiers as method arguments. The example uses block arguments.<div dir="auto"><br></div><div dir="auto">Now maybe a reasonable person would assume that argument names, regardless of whether method or block (especially if one views blocks as anonymous methods), come from the same set, and maybe it seems like a terrible idea to allow this kind of shadowing,  but I don't see the current behaviour as incompatible with the standard snippet.</div><div dir="auto"><br></div><div dir="auto">So sure, forbid such shadowing because it's terrible, but I don't see it being ILLEGAL.</div><div dir="auto"><div dir="auto"><br></div><div dir="auto">frank</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu., Jul. 18, 2019, 18:26 JOHN SARKELA via Squeak-dev, <<a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank" rel="noreferrer">squeak-dev@lists.squeakfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div style="word-wrap:break-word;line-break:after-white-space">It is by definition erroneous. It is counter to the definition of the standard language. That is a problem that should be fixed.<br><div><br><blockquote type="cite"><div>On Jul 18, 2019, at 7:53 PM, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" rel="noreferrer noreferrer" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>> wrote:</div><br class="m_8012151042661541792m_6714587235991067858Apple-interchange-newline"><div><div dir="auto">Is it really a problem?<div dir="auto">Did the system horribly break?</div><div dir="auto">IMO this should just be not recommended.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 19 juil. 2019 à 00:39, Chris Muller <<a href="mailto:asqueaker@gmail.com" rel="noreferrer noreferrer" target="_blank">asqueaker@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Wow.  We should disallow that.  Those words are reserved.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 17, 2019 at 5:52 AM Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu" rel="noreferrer noreferrer noreferrer" target="_blank">leves@caesar.elte.hu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi All,<br>
<br>
You can currently evaluate the following:<br>
<br>
[ :self :thisContext |<br>
        | nil super true false |<br>
        nil := 1.<br>
        super := 2.<br>
        true := 3.<br>
        false := 4.<br>
        self + thisContext = (nil + super + true + false) ] value: 4 value: 6<br>
<br>
Is this the expected behavior or should we disallow such oddities?<br>
<br>
Levente<br>
<br>
</blockquote></div>
<br>
</blockquote></div>
<br></div></blockquote></div><br></div></div><br>
</blockquote></div>
</div></blockquote>
                                        </div></body>