Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-15 Thread Cyril Ferlicot D.
Le 15/04/2017 à 08:14, Nicolai Hess a écrit : > How to reproduce: > > "Create a Trait" > Trait named:#TRoot > uses:{} package:'MyPackage'. > > "Add some methods" > (Smalltalk classOrTraitNamed:'TRoot') compile:'trootA'. > (Smalltalk classOrTraitNamed:'TRoot') compile:'trootB'. > (Smalltalk class

Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-15 Thread Hilaire
Indeed that's it. Adding methods after the second traits was created shows up the bug. I open a ticket. https://pharo.fogbugz.com/f/cases/19938/Traits-methods-flattened Le 15/04/2017 à 08:14, Nicolai Hess a écrit : > > How to reproduce: > -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-15 Thread Hilaire
Great! It is nice you can reproduce it, because my attempt failed with the exemple package attached. Le 15/04/2017 à 08:14, Nicolai Hess a écrit : > > Le 14/04/2017 à 15:24, Denis Kudriashov a écrit : > > > > Could you create example set of packages to reproduce problem? (to be >

Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-14 Thread Nicolai Hess
2017-04-14 17:13 GMT+02:00 Hilaire : > I tried but I can't reproduce the case with dummy code. > I can share privately an image though. > > Hilaire > > Le 14/04/2017 à 15:24, Denis Kudriashov a écrit : > > > > Could you create example set of packages to reproduce problem? (to be > > not dependant

Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-14 Thread Hilaire
I tried but I can't reproduce the case with dummy code. I can share privately an image though. Hilaire Le 14/04/2017 à 15:24, Denis Kudriashov a écrit : > > Could you create example set of packages to reproduce problem? (to be > not dependant on your private code) > -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-14 Thread Denis Kudriashov
Hi. Could you create example set of packages to reproduce problem? (to be not dependant on your private code) 2017-04-14 14:41 GMT+02:00 Hilaire : > Tested on Pharo6, result is the same :( > Traits logic is lost when saving the package. > > Squeak: 1 - Pharo6: 0 > > > Le 14/04/2017 à 14:33, Hila

Re: [Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-14 Thread Hilaire
Tested on Pharo6, result is the same :( Traits logic is lost when saving the package. Squeak: 1 - Pharo6: 0 Le 14/04/2017 à 14:33, Hilaire a écrit : > So it looks like Squeak[1] is capable to produce a correct .mcz file, > out of a package coming with Traits and class. > By correct, read the Tr

[Pharo-users] Traits score: Squeak: 1, Pharo5: 0

2017-04-14 Thread Hilaire
So it looks like Squeak[1] is capable to produce a correct .mcz file, out of a package coming with Traits and class. By correct, read the Traits logic is not lost. Hilaire [1] I tested with a Squeak6 alpha waiting somewhere on my disk -- Dr. Geo http://drgeo.eu