[squeak-dev] The Inbox: Tools-ct.953.mcz
K K Subbu
kksubbu.ml at gmail.com
Sun Mar 8 13:13:27 UTC 2020
On 07/03/20 3:10 PM, commits at source.squeak.org wrote:
----- Method: Browser>>moveMethod:shouldCopy:class:category: (in
category 'drag and drop') -----
> + moveMethod: method shouldCopy: shouldCopy class: destinationClass category: categoryOrBlock
> +
> + | sourceClass areClassesRelated category |
> + (method isKindOf: CompiledMethod)
> + ifFalse: [^ self inform: 'Can only drop methods' translated].
Is the isKindOf: check required here? See below:
> + ----- Method: Browser>>wantsClassListDrop: (in category 'drag and drop') -----
> + wantsClassListDrop: anObject
> +
> + ^ anObject isCompiledMethod!
Regards .. Subbu
More information about the Squeak-dev
mailing list
|