[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces |
Date: |
Mon, 19 May 2008 00:29:36 -0700 |
Issue status update for
http://smalltalk.gnu.org/project/issue/217
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/217
Project: GNU Smalltalk
Version: <none>
Component: VM
Category: feature requests
Priority: normal
Assigned to: Unassigned
Reported by: S11001001
Updated by: bonzinip
-Status: committed
+Status: fixed
> In practice, that would mean that A.Var would
> not refer to a Var defined in a shared pool of A.
I consider this to be a feature, not just an optimization.
I agree.
all namespaces added by the class-containing-namespace
walk will also have their pools added
Yes, I just tried it on this and it worked:
Namespace current: A [
Object subclass: KlassA [ KlassA class >> pathSep [ ^PathSeparator
] ]
Namespace current: B [
Object subclass: KlassB [ KlassB class >> pathSep [
^PathSeparator ] ]
]
]
A.KlassA pathSep printNl.
A.KlassA allSharedPoolDictionariesDo: [ :each | each printNl ].
A.B.KlassB pathSep printNl.
A.B.KlassB allSharedPoolDictionariesDo: [ :each | each printNl ]
Should have just tried it before asking you, sorry! :-) Merged to
master.
- [Help-smalltalk] [feature] <import: PoolDict> for namespaces, Stephen Compall, 2008/05/18
- Message not available
- Message not available
- [Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces, Paolo Bonzini, 2008/05/19
- Message not available
- [Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces, Paolo Bonzini, 2008/05/19
- Message not available
- [Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces, Stephen Compall, 2008/05/19
- Message not available
- [Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces, Stephen Compall, 2008/05/19
- Message not available
- [Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces, Stephen Compall, 2008/05/19
- Message not available
- [Help-smalltalk] Re: [feature] <import: PoolDict> for namespaces,
Paolo Bonzini <=