|Anonymous | Login | Signup for a new account||2018-04-22 18:43 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000041||Core Inform||Relations||public||2010-06-16 07:02||2010-07-01 23:07|
|Target Version||Fixed in Version||6E72|
|Summary||0000041: Relations of values which involve a property don't work|
|Description||The source text results in a run-time error:|
*** Run-time problem P18: Tried to access property for a value
which didn't fit: if this were a number it would be 0.
|Minimal Source Text To Reproduce|
Home is a room. Partnership relates one number to another (called the partner). The verb to be partnered with implies the partnership relation. 5 is partnered with 7. When play begins: showme the partner of 7.
|Additional Information||Numbers can't normally have properties, so cases like these might|
need special treatment.
|Tags||No tags attached.|
|Effect||(mild) Compiler accepts invalid code|
Confirmed. I believe this is a case of "compiler accepts invalid code", since it attempts to create a "partner" property for a kind of value that is not allowed to have properties.
"the number that relates to 7 by the partnership relation" works here instead, although it's read-only.
|Fixed. This now produces a more useful compile-time problem message.|
|2010-06-16 07:02||fundin||New Issue|
|2010-06-16 08:03||jmcgrew||Status||new => acknowledged|
|2010-06-18 01:34||jmcgrew||Effect||(serious/mild) Game compiles but misbehaves => (mild) Compiler accepts invalid code|
|2010-06-18 01:34||jmcgrew||Note Added: 0000038|
|2010-06-18 01:34||jmcgrew||Status||acknowledged => confirmed|
|2010-06-20 05:11||graham||Note Added: 0000073|
|2010-06-20 05:11||graham||Status||confirmed => resolved|
|2010-06-20 05:11||graham||Resolution||open => fixed|
|2010-06-20 05:11||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|