<br><br><div class="gmail_quote">On Sat, Mar 31, 2012 at 1:40 PM, Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We certainly do not want a hard dependency on Monticello classes in the System package, right? So asMethodDefinition needs to go back into MC.<br></blockquote><div><br></div><div>Oops!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- Bert -<br>
<br>
On 31.03.2012, at 21:38, <a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a> wrote:<br>
<br>
> Eliot Miranda uploaded a new version of System to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/System-eem.478.mcz" target="_blank">http://source.squeak.org/trunk/System-eem.478.mcz</a><br>
><br>
> ==================== Summary ====================<br>
><br>
> Name: System-eem.478<br>
> Author: eem<br>
> Time: 31 March 2012, 11:15:25.476 am<br>
> UUID: 5c37a198-3967-401c-a501-57ffd35ad706<br>
> Ancestors: System-ul.477<br>
><br>
> Move generally useful parts of MethodReference into base<br>
> System.<br>
><br>
> =============== Diff against System-ul.477 ===============<br>
><br>
> Item was added:<br>
> + ----- Method: ChangeRecord>>asMethodDefinition (in category 'converting') -----<br>
> + asMethodDefinition<br>
> + ^ MCMethodDefinition<br>
> + className: class<br>
> + classIsMeta: meta<br>
> + selector: self methodSelector<br>
> + category: category<br>
> + timeStamp: stamp<br>
> + source: self string!<br>
><br>
> Item was added:<br>
> + ----- Method: MethodReference>>asMethodDefinition (in category 'converting') -----<br>
> + asMethodDefinition<br>
> + ^ MCMethodDefinition forMethodReference: self!<br>
><br>
> Item was added:<br>
> + ----- Method: MethodReference>>compiledMethod (in category 'accessing') -----<br>
> + compiledMethod<br>
> + ^ self actualClass compiledMethodAt: methodSymbol!<br>
><br>
> Item was added:<br>
> + ----- Method: MethodReference>>source (in category 'accessing') -----<br>
> + source<br>
> + ^ (self actualClass sourceCodeAt: methodSymbol) asString withSqueakLineEndings!<br>
><br>
> Item was added:<br>
> + ----- Method: MethodReference>>sourceCode (in category 'accessing') -----<br>
> + sourceCode<br>
> + ^ self actualClass sourceCodeAt: methodSymbol!<br>
><br>
> Item was added:<br>
> + ----- Method: MethodReference>>timeStamp (in category 'accessing') -----<br>
> + timeStamp<br>
> + ^ self compiledMethod timeStamp!<br>
><br>
><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>