[squeak-dev] The Trunk: System-eem.478.mcz
Eliot Miranda
eliot.miranda at gmail.com
Sun Apr 1 21:24:47 UTC 2012
On Sat, Mar 31, 2012 at 1:40 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:
> We certainly do not want a hard dependency on Monticello classes in the
> System package, right? So asMethodDefinition needs to go back into MC.
>
Oops!
>
> - Bert -
>
> On 31.03.2012, at 21:38, commits at source.squeak.org wrote:
>
> > Eliot Miranda uploaded a new version of System to project The Trunk:
> > http://source.squeak.org/trunk/System-eem.478.mcz
> >
> > ==================== Summary ====================
> >
> > Name: System-eem.478
> > Author: eem
> > Time: 31 March 2012, 11:15:25.476 am
> > UUID: 5c37a198-3967-401c-a501-57ffd35ad706
> > Ancestors: System-ul.477
> >
> > Move generally useful parts of MethodReference into base
> > System.
> >
> > =============== Diff against System-ul.477 ===============
> >
> > Item was added:
> > + ----- Method: ChangeRecord>>asMethodDefinition (in category
> 'converting') -----
> > + asMethodDefinition
> > + ^ MCMethodDefinition
> > + className: class
> > + classIsMeta: meta
> > + selector: self methodSelector
> > + category: category
> > + timeStamp: stamp
> > + source: self string!
> >
> > Item was added:
> > + ----- Method: MethodReference>>asMethodDefinition (in category
> 'converting') -----
> > + asMethodDefinition
> > + ^ MCMethodDefinition forMethodReference: self!
> >
> > Item was added:
> > + ----- Method: MethodReference>>compiledMethod (in category
> 'accessing') -----
> > + compiledMethod
> > + ^ self actualClass compiledMethodAt: methodSymbol!
> >
> > Item was added:
> > + ----- Method: MethodReference>>source (in category 'accessing') -----
> > + source
> > + ^ (self actualClass sourceCodeAt: methodSymbol) asString
> withSqueakLineEndings!
> >
> > Item was added:
> > + ----- Method: MethodReference>>sourceCode (in category 'accessing')
> -----
> > + sourceCode
> > + ^ self actualClass sourceCodeAt: methodSymbol!
> >
> > Item was added:
> > + ----- Method: MethodReference>>timeStamp (in category 'accessing')
> -----
> > + timeStamp
> > + ^ self compiledMethod timeStamp!
> >
> >
>
>
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120401/7527b3ca/attachment.htm
More information about the Squeak-dev
mailing list
|