[squeak-dev] The Inbox: Kernel-ct.1255.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Fri Aug 9 20:12:18 UTC 2019


Hi,


is there any reason why #pragmas, #pragmaAt: and #pragmasAt: are imeplemented both in CompiledBlock and CompiledMethod, but not as abstract in CompiledCode (^self subclassResponsibility)? Is it a code smell?


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Freitag, 9. August 2019 22:08:26
An: squeak-dev at lists.squeakfoundation.org
Betreff: [squeak-dev] The Inbox: Kernel-ct.1255.mcz

A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1255.mcz

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

Name: Kernel-ct.1255
Author: ct
Time: 9 August 2019, 10:08:18.927412 pm
UUID: 2355c96f-9cc4-2f45-aebe-385f6465737e
Ancestors: Kernel-mt.1254

Propose convenience method for pragma analysis

=============== Diff against Kernel-mt.1254 ===============

Item was added:
+ ----- Method: CompiledMethod>>hasPragma: (in category 'accessing-pragmas & properties') -----
+ hasPragma: aSymbol
+
+        ^ (self pragmaAt: aSymbol) notNil!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190809/3020a2c3/attachment.html>


More information about the Squeak-dev mailing list