|Anonymous | Login | Signup for a new account||2018-10-15 12:12 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000867||Core Inform||Phrases and functional programming||public||2012-02-16 07:59||2014-05-07 07:34|
|Platform||x64||OS||Windows||OS Version||7 SP1|
|Target Version||Fixed in Version||6L02|
|Summary||0000867: Error message about a definition referencing a past-tense condition is misleading|
|Description||The problem report claims that a past-tense condition referring to a temporary value is the problem. Thing is, there are no temporary values mentioned here.|
|Minimal Source Text To Reproduce|
There is room. Egg is here. Definition: Egg is contaminated if it was held.
|Additional Information||This is the report produced by Inform 7 (build 6G60) on its most recent run through:|
Problem. You wrote 'Definition' : but conditions written in the past tense cannot refer to temporary values, because they have no past. For instance, the name given in a 'repeat...' can't be talked about as having existed before.
|Tags||No tags attached.|
|Effect||(cosmetic) Error message is badly worded|
In fact there is a temporary named value, ``it.'' Because Inform needs to be able to apply the definition of contaminated to other things, the attached source text is read as
- - - -
Definition: a thing is contaminated if it is the egg and it was held.
- - - -
But that's not necessarily obvious from the problem message.
|2012-02-16 07:59||ChrisC||New Issue|
|2012-02-16 09:10||EmacsUser||Note Added: 0001585|
|2012-02-16 09:10||EmacsUser||Status||new => confirmed|
|2012-02-16 09:10||EmacsUser||Category||Actions => Phrases and functional programming|
|2014-01-22 14:30||graham||Status||confirmed => resolved|
|2014-01-22 14:30||graham||Resolution||open => fixed|
|2014-01-22 14:30||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|