MantisBT - Core Inform
|View Issue Details|
|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|| |
|Effect||(serious) Compiler rejects valid code|
|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.|
|child of ||0000686||closed ||graham ||Umbrella issue: ni misses an alternative parsing of the source text |
|2011-01-09 17:10||Ron Newcomb||New Issue|
|2011-01-09 17:11||Ron Newcomb||Note Added: 0000955|
|2011-01-10 11:11||jmcgrew||Severity||mild => serious|
|2011-01-10 11:11||jmcgrew||Status||new => confirmed|
|2011-07-02 18:07||EmacsUser||Relationship added||related to 0000686|
|2012-04-02 11:59||EmacsUser||Relationship replaced||child of 0000686|
|2014-01-19 11:27||graham||Note Added: 0002329|
|2014-01-19 11:27||graham||Status||confirmed => resolved|
|2014-01-19 11:27||graham||Resolution||open => fixed|
|2014-01-19 11:27||graham||Assigned To|| => graham|
|2014-05-07 07:34||jmcgrew||Fixed in Version|| => 6L02|
|2014-05-07 07:35||jmcgrew||Status||resolved => closed|