[squeak-dev] The Inbox: Kernel-bf.1006.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 16 10:10:10 UTC 2016


Bert Freudenberg uploaded a new version of Kernel to project The Inbox:
http://source.squeak.org/inbox/Kernel-bf.1006.mcz

==================== Summary ====================

Name: Kernel-bf.1006
Author: bf
Time: 16 March 2016, 11:09:47.742872 am
UUID: a907e233-dc3a-44f7-92a8-57f0cac8e089
Ancestors: Kernel-eem.1005

Provide a pragma to annotate senders of messages that would otherwise not be found, by invoking a custom hasLiteral: test on the methodClass.
<hasLiteralTest: #myHasLiteral::>
For example use see System-bf.806

=============== Diff against Kernel-eem.1005 ===============

Item was changed:
  ----- Method: Pragma>>hasLiteral: (in category 'testing') -----
  hasLiteral: aLiteral
  	^keyword == aLiteral 
+ 	   or: [(arguments hasLiteral: aLiteral)
+ 		or: [keyword == #hasLiteralTest: and: [
+ 			self methodClass perform: arguments first with: aLiteral]]]!
- 	   or: [arguments hasLiteral: aLiteral]!



More information about the Squeak-dev mailing list