<html>#2392: default values of keyword parameters are not checked to be in the allowed set
<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>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Currently neither the CST nor the runtime code stops a simulation if the default value of a parameter is not in the allowed set of values. The runtime code actually detects this state then outputs an (invisible since the info level is not yet available) warning about which parameter is affected, then another one to the effect of “but continuing anyway”.</p>
<p>It seems better if default values were restricted to be in the allowed range, ideally both at compile time and at runtime (in case compile time checks miss something).</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2392/default-values-of-keyword-parameters-are'>https://bitbucket.org/einsteintoolkit/tickets/issues/2392/default-values-of-keyword-parameters-are</a></p>
</html>