|Anonymous | Login | Signup for a new account||2018-12-18 07:01 PST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000059||Core Inform||Relations||public||2010-06-17 22:29||2010-07-01 23:07|
|Target Version||Fixed in Version||6E72|
|Summary||0000059: Relations between numbers generate unused properties|
|Description||Global relations between numbers (in any form except various-to-various) cause a property and a ValuePropertyHolder class to be generated, even though the property is not used to implement the relation and numbers are not allowed to have properties. This also happens with other kinds of value.|
|Minimal Source Text To Reproduce|
Home is a room. Friendship relates various numbers to each other in groups. The verb to be friends with implies the friendship relation.
|Additional Information||The code above causes this class to be generated:|
with value_range 0
with p56_friendship KOVP_66_P56
! Storage for property p56_friendship of KOV NUMBER_TY
Array KOVP_66_P56 table 0 0 ;
... as well as a few other references to p56_friendship.
|Tags||No tags attached.|
|Effect||(serious/mild) Game compiles but misbehaves|
It's a little harsh to call this a bug, really: "game compiles but misbehaves" isn't true - there is no misbehaviour. It results in very slightly more memory being used at run-time than necessary, so this is more like a request for optimisation.
I have removed the ValuePropertyHolder_* and so forth, but retained the creation of the property, as I want to keep the usage of the property namespace consistent here (rather than dependent on the accident of the domain of the equivalence relation).
|2010-06-17 22:29||jmcgrew||New Issue|
|2010-06-17 22:30||jmcgrew||Status||new => acknowledged|
|2010-06-18 17:13||EmacsUser||Status||acknowledged => confirmed|
|2010-06-20 04:44||graham||Note Added: 0000071|
|2010-06-20 04:44||graham||Status||confirmed => resolved|
|2010-06-20 04:44||graham||Resolution||open => fixed|
|2010-06-20 04:44||graham||Assigned To||=> graham|
|2010-06-30 18:07||jmcgrew||Fixed in Version||=> 6E72|
|2010-07-01 23:07||jmcgrew||Status||resolved => closed|
|Copyright © 2000 - 2010 MantisBT Group|