MantisBT - Core Inform
View Issue Details
0000967Core InformSource text and punctuationpublic2012-08-05 10:042014-05-07 07:34
x86Mac OS X10.6
(mild) Compiler accepts invalid code
0000967: "The <kind>" should be flagged as an error
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.
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".
Taken almost verbatim from [^]
No tags attached.
Issue History
2012-08-05 10:04EmacsUserNew Issue
2012-08-05 10:05EmacsUserReporterEmacsUser => jmcgrew
2012-08-05 10:05EmacsUserStatusnew => confirmed
2013-01-02 10:46grahamNote Added: 0001951
2013-01-02 10:46grahamStatusconfirmed => resolved
2013-01-02 10:46grahamResolutionopen => fixed
2013-01-02 10:46grahamAssigned To => graham
2014-05-07 07:34jmcgrewFixed in Version => 6L02
2014-05-07 07:34jmcgrewStatusresolved => closed

2013-01-02 10:46   
This now produces an explanatory problem message.