<div dir="ltr"><div><div><div><div><div><div><div><div>The test was failing because a pool dictionary (MCMockAPoolDictionary) is not in the mockPackage.<br></div>So I used the ability to import this one from Smalltalk globals into the Environment named: &#39;MCEnvironmentLoadTest&#39;.<br>
<br></div>But it&#39;s not enough, the test is still failing.<br></div>This is because Class&gt;&gt;sharing: is using environment at:ifAbsent:<br></div>But at:ifAbsent: is using the declarations (that is the classes attached to this environment) not the bindings (the classes visible from this environment).<br>
<br></div>I could change it to use valueOf:ifAbsent: eventually<br></div>But there is a single sender, so I just wonder...<br></div>And it also would mean we can&#39;t revert Environment as easily if ever we start using environment specific messages.<br>
<br>I also wonder if some of the emulation messages should not inquire the bindings rather than the declarations?<br></div><div>But what if an environment does not importSelf?<br><div></div>For example, how to define a class A, and a subclass
 B of A in an environment which does not import self if we use the bindings? (I mean we can&#39;t 
reference A, can we?)<br><br></div><div>Can we have an example when not importing self really makes sense?<br></div><div><br></div>Thoughts?<br><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div>
</div></div></div></div></div>