Sorry guys but this is terrible because it is implicitly scoped.
From an analysis point of view we have to rely on order to
After a class declaration like this:

LLVMDisposableObject subclass:#LLVMDIBuilder
        instanceVariableNames:''
        classVariableNames:''
        poolDictionaries:'LLVMModuleFlagBehavior'
        category:'LLVM-S-Core'

Annotation key: 'disposable:' value: 'true'

This ANSI-compatible way (see page 39 of NCITS J20 DRAFT
of ANSI Smalltalk Standard, rev 1.9).

Perhaps nice way is

Annotation disposable: true
A better way would be

LLVMDIBuilder disposable: true
or
LLVMDIBuilder annotationKey: #disposable: value: true



Reply via email to