You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i downloaded yesterday the latest Pharo 7 and in a playground if you do:
class := Object newAnonymousSubclass. (OK)
class package. "a RPackage(_UnpackagedPackage)" (OK)
class compile: 'test ^nil'. (OK)
(class >> #test) package. "nil" (Surprising but no problem with any pharo version since yesterday)
class removeSelector: #test. (Exception, see below)
An exception is raised in IceSystemEventListener class because the method package is nil:
So to fix it, the package needs to be correctly set for each method compiled in an anonymous class, but should anonymous subclasses really raise events when adding/modifying/removing methods?
The text was updated successfully, but these errors were encountered:
From mailing list
The text was updated successfully, but these errors were encountered: