MantisBT - Core Inform
View Issue Details
0000390Core InformPropertiespublic2010-11-05 20:452011-01-10 11:15
jmcgrew 
graham 
normalcosmeticalways
closedfixed 
x86Windows7
6F95 
6G60 
(cosmetic) Error message is badly worded
0000390: Misleading error when giving properties to an action name (and some other types)
The code below gives this error:

Problem. You wrote 'An action name has a number called difficulty' : but this is a kind of value which is not allowed to have properties of its own, because this would be impossible to store in any sensible way. For instance, 'A scene has a number called difficulty.' is fine because there are not many scenes and I know them all, but 'A number has a text called French translation.' is not allowed, because storing something for every possible number takes an impossible amount of space. (See the Kinds index for which kinds can have properties.)

The Kinds index does say these types can't have properties, but "impossible to store in any sensible way" isn't quite true. Built-in enumerated types like action name and use option don't have substantially different storage requirements from user-defined kinds of value.
Dojo is a room. An action name has a number called difficulty.
No tags attached.
Issue History
2010-11-05 20:45jmcgrewNew Issue
2010-11-05 20:45jmcgrewIssue Monitored: jmcgrew
2010-11-05 20:45jmcgrewIssue End Monitor: jmcgrew
2010-11-05 20:45jmcgrewStatusnew => acknowledged
2010-11-05 20:49jmcgrewSeveritymild => cosmetic
2010-11-06 10:41EmacsUserStatusacknowledged => confirmed
2010-11-21 15:52grahamNote Added: 0000863
2010-11-21 15:52grahamStatusconfirmed => resolved
2010-11-21 15:52grahamResolutionopen => fixed
2010-11-21 15:52grahamAssigned To => graham
2010-12-23 17:37jmcgrewFixed in Version => 6G60
2011-01-10 11:15jmcgrewStatusresolved => closed

Notes
(0000863)
graham   
2010-11-21 15:52   
Very well. A different excuse is now given, but the answer is still "no".