|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001141||Core Inform||Rules and rulebooks||public||2013-10-17 07:40||2014-05-07 07:33|
|Assigned To||graham|| |
|Product Version||6G60|| |
|Target Version||Fixed in Version||6L02|| |
|Summary||0001141: Naming a rule without "the", error message blames when/while clause|
|Description||Normally in I7, articles can be omitted without incident. "The" is required, however, in the naming of a rule. This is actually mentioned in passing in WI 18.3, but this might be more strongly emphasized.|
In any case, when a rule with a "when" clause is named without using "the", NI incorrectly pins the blame on that clause.
Problem. You wrote 'Every turn when true is true (this is a ridiculous rule)' : but I don't understand the 'when/while' clause, which should name activities or conditions.
|Minimal Source Text To Reproduce|
There is room.
Every turn when true is true (this is a ridiculous rule): say "True."
|Additional Information||Also, if you omit the when clause, NI gets even more confused:|
Problem. You wrote 'Every turn (this is a ridiculous rule)' , which seems to introduce a rule taking effect only '(this is a ridiculous rule)'. But this does not look like an action, since there is no sign of a participle ending '-ing' (as in 'taking the brick', say) - which makes me think I have badly misunderstood what you intended.
|Tags||No tags attached.|
|Effect||(cosmetic) Error message is badly worded|