MantisBT - Core Inform
View Issue Details
0000745Core InformUnderstandingpublic2011-09-13 09:152014-05-07 07:33
mattweiner 
graham 
normalmildalways
closedfixed 
x86Mac OS X10.5
6G60 
6L02 
(mild) Compiler accepts invalid code
0000745: Understand "two words" as something new compiles, though it doesn't do anything.
The command:

Understand "foo" as something new.

only works when "foo" is a single word. But the compiler accepts it even when it's two words, even though it doesn't do anything.
Bedroom is a room. The bed is an enterable supporter in Bedroom. The player is on bed. Understand the command "get up" as something new. Test me with "get up".
See http://www.intfiction.org/forum/viewtopic.php?f=7&t=3174&p=22513&sid=e2abd989ddee4d28b16a202b33e267f8 [^]

This is distinct from the case where you type

Understand "xplizs" as something new.

which (as explained in 16.3) does nothing, but would do something if an extension defined "xpilzs" as a command. In this case, the understand... as something new command can never do anything, and should be rejected.
No tags attached.
Issue History
2011-09-13 09:15mattweinerNew Issue
2011-09-16 09:26EmacsUserStatusnew => confirmed
2014-02-15 04:11grahamNote Added: 0002503
2014-02-15 04:11grahamStatusconfirmed => resolved
2014-02-15 04:11grahamResolutionopen => fixed
2014-02-15 04:11grahamAssigned To => graham
2014-05-07 07:32jmcgrewFixed in Version => 6L02
2014-05-07 07:33jmcgrewStatusresolved => closed

Notes
(0002503)
graham   
2014-02-15 04:11   
I've added a suitable problem message.