The Inbox: Kernel-nice.745.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Kernel-nice.745.mcz

commits-2
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-nice.745.mcz

==================== Summary ====================

Name: Kernel-nice.745
Author: nice
Time: 7 March 2013, 11:31:55.61 pm
UUID: 2895b9fb-3934-4be1-8ec4-bb4cdcea9673
Ancestors: Kernel-bf.744

Remove an un-necessary inst. var. shadowing

=============== Diff against Kernel-bf.744 ===============

Item was changed:
  ----- Method: ContextPart>>asMessage (in category 'converting') -----
  asMessage
+ | selector args |
- | sender selector args |
- sender := self sender.
  selector := sender method selector.
  args := Array new: selector numArgs.
  1 to: selector numArgs do: [ :i | args at: i put: (sender tempAt: i)].
  ^ Message selector: selector arguments: args.!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Kernel-nice.745.mcz

Frank Shearar-3
On 7 March 2013 22:32,  <[hidden email]> wrote:

> A new version of Kernel was added to project The Inbox:
> http://source.squeak.org/inbox/Kernel-nice.745.mcz
>
> ==================== Summary ====================
>
> Name: Kernel-nice.745
> Author: nice
> Time: 7 March 2013, 11:31:55.61 pm
> UUID: 2895b9fb-3934-4be1-8ec4-bb4cdcea9673
> Ancestors: Kernel-bf.744
>
> Remove an un-necessary inst. var. shadowing
>
> =============== Diff against Kernel-bf.744 ===============
>
> Item was changed:
>   ----- Method: ContextPart>>asMessage (in category 'converting') -----
>   asMessage
> +       | selector args |
> -       | sender selector args |
> -       sender := self sender.
>         selector := sender method selector.
>         args := Array new: selector numArgs.
>         1 to: selector numArgs do: [ :i | args at: i put: (sender tempAt: i)].
>         ^ Message selector: selector arguments: args.!

Ah, nice. I should have checked to see what #sender returned. The only
other implementor of #sender is BlockClosure, which of course has
nothing to do with this code.

Thanks!

frank