|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000967||Core Inform||Source text and punctuation||public||2012-08-05 10:04||2014-05-07 07:34|
|Assigned To||graham|| |
|Platform||x86||OS||Mac OS X||OS Version||10.6|
|Product Version||6G60|| |
|Target Version||Fixed in Version||6L02|| |
|Summary||0000967: "The <kind>" should be flagged as an error|
|Description||New authors frequently seem to write things like "instead of going to a room when the room is not visited", intending "the room" to mean some particular room, but I7 treats it the same as "a room" and produces unexpected behavior. The syntax should just be rejected at compile time, since it never means what anyone expects it to mean.|
|Minimal Source Text To Reproduce|
Kitchen is a room. South is Hallway. North is Pantry.
Instead of going to a room when the room is not visited:
showme whether or not the room gone to is visited; [one would expect the result to always be false]
make no decision.
Test me with "s/n".
|Additional Information||Taken almost verbatim from http://inform7.uservoice.com/forums/57320-general/suggestions/754190-syntax-flag-the-kind-as-an-error. [^]|
|Tags||No tags attached.|
|Effect||(mild) Compiler accepts invalid code|