<html>#2440: Cactus does not check at runtime that implemenation whose parameters a thorn SHARES are active
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Using the fragment</p>
<div class="codehilite language-plaintext"><pre><span></span><span class="n">SHARES</span><span class="o">:</span> <span class="n">Foo</span>

<span class="n">USES</span> <span class="n">STRING</span> <span class="n">bar</span>
</pre></div>


<p>one can gain access to (some) of the parameters of other thorns / implementations.</p>
<p>Cactus will refuse to compile if no thorn for the implementation is compiled in. However at runtime no check is made that an implementation is actually active letting one access parameters without an active thorn to them.</p>
<p>Cactus should tread this the same way as a missing active implementation when INHERITing in interface.ccl.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2440/cactus-does-not-check-at-runtime-that'>https://bitbucket.org/einsteintoolkit/tickets/issues/2440/cactus-does-not-check-at-runtime-that</a></p>
</html>