|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000500||Core Inform||Rules and rulebooks||public||2011-01-09 17:10||2014-05-07 07:35|
|Reporter||Ron Newcomb|| |
|Assigned To||graham|| |
|Platform||PPC||OS||Mac OS X||OS Version||10.4|
|Product Version||6G60|| |
|Target Version||Fixed in Version||6L02|| |
|Summary||0000500: A rule has "when" in its name, causing spurious syntax errors.|
|Description||The "can't exit when not inside anything rule" cannot be named in rule headers due to Inform interpreting "when" differently. Recommend rule be renamed to the "can't exit what's not enclosing rule" to match the naming pattern set by many other rules.|
|Minimal Source Text To Reproduce|
There is room.
The of course rules are a rule based rulebook.
Of course for the can't give to yourself rule: rule succeeds.
Of course for the can't wear what's already worn rule: rule succeeds.
Of course for the can't remove what's not inside rule: rule succeeds.
Of course for the can't exit when not inside anything rule: rule succeeds.
|Additional Information||Problem. You wrote 'Of course for the can't exit when not inside anything rule' , but the description of the thing(s) to which the rule applies ('the can't exit') did not make sense. This is a rule based rulebook, so that should have described a rule.|
|Tags||No tags attached.|
|Effect||(serious) Compiler rejects valid code|