<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 03.04.2013, at 07:40, Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Tobias, ok, I understand what you mean by "injected" -- you mean "extended". &nbsp;:) &nbsp;When a package adds a method to a class defined in another package, the first is said to "extend" the second.<div>
<br></div><div>I looked more closely and found that I have extended Class with the following method:<div><br></div><div><div>packageInfo</div><div><span class="" style="white-space:pre">        </span>^ PackageInfo allPackages</div>
<div><span class="" style="white-space:pre">                </span>detect: [ : each | each includesClass: self ]</div><div><span class="" style="white-space:pre">                </span>ifNone: [ nil ]</div></div><div><br></div><div style="">We should include this in the base image.</div>
<div style=""><br></div><div style="">Also #workingCopy should be changed to handle the possibility of it returning nil.</div></div></div></blockquote><div><br></div>-1.</div><div><br></div><div>Either the methods should be removed (my preference), or be changed to return collections, to account for the possibility of having zero, one, or more package infos / working copies / repositories.<br><div><br></div><div>- Bert -</div><br><blockquote type="cite"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 3, 2013 at 1:28 AM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 03.04.2013 um 03:05 schrieb Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;:<br>
<div class="im"><br>
&gt; That works in 4.3, but not 4.4.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Apr 2, 2013 at 2:07 PM, Marcel Taeumel &lt;<a href="mailto:marcel.taeumel@student.hpi.uni-potsdam.de">marcel.taeumel@student.hpi.uni-potsdam.de</a>&gt; wrote:<br>
&gt; You mean "String workingCopy" throws a DNU but should not?<br>
&gt;<br>
&gt; -- Marcel<br>
<br>
<br>
</div>I have 'bisected' and the #workingCopy<br>
was introduced in 2011:<br>
<br>
Name: Monticello-cmm.436<br>
Time: 10 March 2011, 1:46:11.144 pm<br>
<br>
- Added several methods for tracing MethodReferences and Classes back to their MC counterparts; their #workingCopy, and #repositoryGroup.<br>
- Ability to convert MethodReferences to equivalent MCMethodDefinitions, and classes to MCClassDefinitions.<br>
- Added MCRepository&gt;&gt;allVersionsDo:.<br>
<br>
<br>
Chris, what PackageInfo do you have that injects #packageInfo into Class and MethodReference?<br>
I've looked in several images and repositories and cannot find a PackageInfo that<br>
provides those :/<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888">&nbsp; &nbsp; &nbsp; &nbsp; -Tobias<br>
</font></span></blockquote></div><br></div>
<br></blockquote></div><br></body></html>