Issue 4184 in pharo: CommentReference(Object)>>doesNotUnderstand: #methodClass

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

Issue 4184 in pharo: CommentReference(Object)>>doesNotUnderstand: #methodClass

pharo
Status: Accepted
Owner: marianopeck
CC: [hidden email]
Labels: Milestone-1.3

New issue 4184 by marianopeck: CommentReference(Object)>>doesNotUnderstand:  
#methodClass
http://code.google.com/p/pharo/issues/detail?id=4184

In

FlatMessageListBrowser >> methodModified: ann

        | ref |
        ref := self getList detect: [:any | (any methodClass = ann oldItem  
methodClass) and: [ any selector = ann oldItem selector ]] ifNone: [ nil ].
        ref ifNotNil: [ | newRef |
                        newRef := ann item methodReference.
                        self model methodReferenceList remove: ref.
                        self model addMethodReferenceSilently: newRef.
                        selectedItem:= newRef ]


the self getList  can answer different kind of references, not only  
MethodReference, for example CommentRefernece. And CommentRefernece DNU  
methodClass


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4184 in pharo: CommentReference(Object)>>doesNotUnderstand: #methodClass

pharo
Updates:
        Status: FixProposed

Comment #1 on issue 4184 by [hidden email]:  
CommentReference(Object)>>doesNotUnderstand: #methodClass
http://code.google.com/p/pharo/issues/detail?id=4184

Thanks to report

Fix in PharoInbox:

Name: RecentSubmissions-BenjaminVanRyseghem.79
Author: BenjaminVanRyseghem
Time: 10 May 2011, 1:40:35 pm
UUID: 3577d11b-e2c1-4755-a607-09e3a3d59264
Ancestors: RecentSubmissions-BenjaminVanRyseghem.78

Fix Issue 4184


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4184 in pharo: CommentReference(Object)>>doesNotUnderstand: #methodClass

pharo
Updates:
        Status: Closed

Comment #2 on issue 4184 by [hidden email]:  
CommentReference(Object)>>doesNotUnderstand: #methodClass
http://code.google.com/p/pharo/issues/detail?id=4184

in 13188


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker