Re: [Pharo-users] Strange behavior of Pragma>>#allNamed:in:

2016-02-23 Thread Ben Coman
On Wed, Feb 24, 2016 at 5:19 AM, Julien Delplanque wrote: > I experience a strange behavior with Pragma>>#allNamed:in: > > When I use > > Pragma allNamed: #myPragma in: MyClass > > It works as expected. > > But when instead of hard-coding "MyClass" I use "self class" in an method > (instance side)

Re: [Pharo-users] Strange behavior of Pragma>>#allNamed:in:

2016-02-23 Thread Nicolai Hess
2016-02-23 22:19 GMT+01:00 Julien Delplanque : > Hi, > > I experience a strange behavior with Pragma>>#allNamed:in: > > When I use > > Pragma allNamed: #myPragma in: MyClass > > It works as expected. > > But when instead of hard-coding "MyClass" I use "self class" in an method > (instance side), >

[Pharo-users] Strange behavior of Pragma>>#allNamed:in:

2016-02-23 Thread Julien Delplanque
Hi, I experience a strange behavior with Pragma>>#allNamed:in: When I use Pragma allNamed: #myPragma in: MyClass It works as expected. But when instead of hard-coding "MyClass" I use "self class" in an method (instance side), Pragma allNamed: #myPragma in: self class returns an empty arra