|
SharedPool subclass: #PoolA instanceVariableNames: '' classVariableNames: 'A' package: 'CompilerBugTest' PoolA subclass: #PoolB instanceVariableNames: '' classVariableNames: '' package: 'CompilerBugTest' Object subclass: #MyClass instanceVariableNames: '' classVariableNames: '' poolDictionaries: 'PoolB' package: 'CompilerBugTest' MyClass>>#m ^A
The A is tagged as undeclared I wrote a test. Where and how should I submit it? BTW, Pharo 7 does not allow filing out Pool dictionaries. Why is this? The semantics is provided by Class>>#sharedPoolOfVarNamed: It does what I was expecting sharedPoolOfVarNamed: aString "Returns the SharedPool or nil from which the pool variable named aString is coming from."
^ self sharedPools detect: [ :each | each usesClassVarNamed: aString ] ifNone: [ self superclass ifNil: [ nil ] ifNotNil: [ self superclass sharedPoolOfVarNamed: aString ] ]
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Working On
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|