|
Evaluating "Morph protocols sorted" returns #'' as the first element. This uses #allProtocolsNames with a single implementer for ProtocolOrganizer.
A #haltOnce placed in ProtocolOrganizer>>addProtocolNamed: gets triggered when adding a protocol from Nautilus, which calls...
(Protocol name: aName)
So perhaps something like the following asserts could be added to flag when the erroneous #'' value is introduced.
Protocol >> name: anObject
name := anObject asSymbol.
self assert: (name ~= #'').
"If this assert fails please report at https://pharo.fogbugz.com/default.asp?12316"
Protocol >> initialize
super initialize.
methods := IdentitySet new..
name := self class defaultName.
self assert: (name ~= #'').
"If this assert fails please report at https://pharo.fogbugz.com/default.asp?12316"
|
|
|
Priority: 2 – Really Important
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo3.0
|
Go to Case
|
|