The Trunk: 60Deprecated-mt.81.mcz

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

The Trunk: 60Deprecated-mt.81.mcz

commits-2
Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-mt.81.mcz

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

Name: 60Deprecated-mt.81
Author: mt
Time: 14 October 2020, 2:22:01.292569 pm
UUID: a2fefed6-c5dc-564a-9091-6e4d1d8ca3f8
Ancestors: 60Deprecated-mt.80

Complements Collections-mt.918

=============== Diff against 60Deprecated-mt.80 ===============

Item was added:
+ ----- Method: HashedCollection>>doWithIndex: (in category '*60Deprecated-enumerating') -----
+ doWithIndex: elementAndIndexBlock
+
+ self flag: #deprecated. "Use the new version with consistent naming."
+ ^ self withIndexDo: elementAndIndexBlock!

Item was added:
+ ----- Method: SequenceableCollection>>collectWithIndex: (in category '*60Deprecated-enumerating') -----
+ collectWithIndex: elementAndIndexBlock
+
+ self flag: #deprecated. "Use the new version with consistent naming."
+ ^ self withIndexCollect: elementAndIndexBlock!

Item was added:
+ ----- Method: SequenceableCollection>>doWithIndex: (in category '*60Deprecated-enumerating') -----
+ doWithIndex: elementAndIndexBlock
+
+ self flag: #deprecated. "Use the new version with consistent naming."
+ ^ self withIndexDo: elementAndIndexBlock!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: 60Deprecated-mt.81.mcz

Christoph Thiede

Why can't we "hard deprecate" this instead of using a flag only? :-)


Best,

Christoph


Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Mittwoch, 14. Oktober 2020 14:22:02
An: [hidden email]; [hidden email]
Betreff: [squeak-dev] The Trunk: 60Deprecated-mt.81.mcz
 
Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-mt.81.mcz

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

Name: 60Deprecated-mt.81
Author: mt
Time: 14 October 2020, 2:22:01.292569 pm
UUID: a2fefed6-c5dc-564a-9091-6e4d1d8ca3f8
Ancestors: 60Deprecated-mt.80

Complements Collections-mt.918

=============== Diff against 60Deprecated-mt.80 ===============

Item was added:
+ ----- Method: HashedCollection>>doWithIndex: (in category '*60Deprecated-enumerating') -----
+ doWithIndex: elementAndIndexBlock
+
+        self flag: #deprecated. "Use the new version with consistent naming."
+        ^ self withIndexDo: elementAndIndexBlock!

Item was added:
+ ----- Method: SequenceableCollection>>collectWithIndex: (in category '*60Deprecated-enumerating') -----
+ collectWithIndex: elementAndIndexBlock
+
+        self flag: #deprecated. "Use the new version with consistent naming."
+        ^ self withIndexCollect: elementAndIndexBlock!

Item was added:
+ ----- Method: SequenceableCollection>>doWithIndex: (in category '*60Deprecated-enumerating') -----
+ doWithIndex: elementAndIndexBlock
+
+        self flag: #deprecated. "Use the new version with consistent naming."
+        ^ self withIndexDo: elementAndIndexBlock!




Carpe Squeak!
Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: 60Deprecated-mt.81.mcz

Tobias Pape

> On 14.10.2020, at 15:30, Thiede, Christoph <[hidden email]> wrote:
>
> Why can't we "hard deprecate" this instead of using a flag only? :-)

cause old code will bail.

Best regards
        -Tobias

>
> Best,
> Christoph
> Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email]<[hidden email]>
> Gesendet: Mittwoch, 14. Oktober 2020 14:22:02
> An: [hidden email]; [hidden email]
> Betreff: [squeak-dev] The Trunk: 60Deprecated-mt.81.mcz
>  
> Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:
> http://source.squeak.org/trunk/60Deprecated-mt.81.mcz
>
> ==================== Summary ====================
>
> Name: 60Deprecated-mt.81
> Author: mt
> Time: 14 October 2020, 2:22:01.292569 pm
> UUID: a2fefed6-c5dc-564a-9091-6e4d1d8ca3f8
> Ancestors: 60Deprecated-mt.80
>
> Complements Collections-mt.918
>
> =============== Diff against 60Deprecated-mt.80 ===============
>
> Item was added:
> + ----- Method: HashedCollection>>doWithIndex: (in category '*60Deprecated-enumerating') -----
> + doWithIndex: elementAndIndexBlock
> +
> +        self flag: #deprecated. "Use the new version with consistent naming."
> +        ^ self withIndexDo: elementAndIndexBlock!
>
> Item was added:
> + ----- Method: SequenceableCollection>>collectWithIndex: (in category '*60Deprecated-enumerating') -----
> + collectWithIndex: elementAndIndexBlock
> +
> +        self flag: #deprecated. "Use the new version with consistent naming."
> +        ^ self withIndexCollect: elementAndIndexBlock!
>
> Item was added:
> + ----- Method: SequenceableCollection>>doWithIndex: (in category '*60Deprecated-enumerating') -----
> + doWithIndex: elementAndIndexBlock
> +
> +        self flag: #deprecated. "Use the new version with consistent naming."
> +        ^ self withIndexDo: elementAndIndexBlock!