|Anonymous | Login | Signup for a new account||2019-01-23 15:45 PST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000617||Core Inform||Relations||public||2011-03-15 14:53||2014-05-07 07:34|
|Priority||normal||Severity||serious||Reproducibility||have not tried|
|Target Version||Fixed in Version||6L02|
|Summary||0000617: "next step via..." and "number of steps via..." aren't implemented for values (but can be used with buggy results)|
|Description||In the manual, 13.11. Indirect relations, we have:|
next step via (relation of values to values) from (object) to (object) ... object
and it's number-of friend. Are these supposed to be for Values or for Objects? (I was hoping for values, as I've a KOV to give to it.) If it's just objects, why is the relation listed as "of values to values", and if it's all values, why the the other parameters just objects? Other phrases like "list of (name of kind) to which (value) relates by (relation of values to values)" say values-to-values and actually mean it.
Not sure if this is a feature request or a documentation bug. Hopefully a bug in that the feature was supposed to be there anyway... :)
|Tags||No tags attached.|
|Effect||(serious) Compiler rejects valid code|
If object parameters are given, a cascade of I6 runtime errors results (at least on Z-code):
A color is a kind of value. The colors are red, orange, yellow, green, blue, indigo, and violet.
Cmatching relates various colors to various colors. The verb to cmatch (it cmatches, they cmatch, it is cmatching) implies the cmatching relation.
Red cmatches violet and orange.
Orange cmatches red and yellow.
Yellow cmatches orange and green.
Green cmatches yellow and blue.
Blue cmatches green and indigo.
Indigo cmatches blue and violet.
Violet cmatches indigo and red.
Home is a room.
When play begins:
let foo be the next step via the cmatching relation from the player to Home;
Pathfinding is not supported for relations between values, but that may be intentional. This issue could be "Compiler rejects valid code" for the original example, and/or "Compiler accepts invalid code" or "Game compiles but misbehaves" for this one, and/or a feature request!
The better type-checking imposed to fix 0000497 also resolves this:
Problem. You wrote 'let foo be the next step via the cmatching relation from the player to Home', but 'cmatching relation' has the wrong kind of value: a relation of colors rather than a relation of objects.
|2011-03-15 14:53||Ron Newcomb||New Issue|
|2011-03-16 21:07||jmcgrew||Note Added: 0001095|
|2011-03-16 21:07||jmcgrew||Severity||mild => serious|
|2011-03-16 21:07||jmcgrew||Status||new => acknowledged|
|2011-03-16 21:07||jmcgrew||Summary||does "next step via..." and "number of steps via..." work for Values or just Objects? => "next step via..." and "number of steps via..." aren't implemented for values (but can be used with buggy results)|
|2011-03-16 21:09||jmcgrew||Status||acknowledged => confirmed|
|2011-08-20 10:35||EmacsUser||Relationship added||related to 0000497|
|2011-10-15 09:26||graham||Note Added: 0001380|
|2011-10-15 09:26||graham||Status||confirmed => resolved|
|2011-10-15 09:26||graham||Resolution||open => fixed|
|2011-10-15 09:26||graham||Assigned To||=> graham|
|2014-05-07 07:34||jmcgrew||Fixed in Version||=> 6L02|
|2014-05-07 07:34||jmcgrew||Status||resolved => closed|
|Copyright © 2000 - 2010 MantisBT Group|