MantisBT - Core Inform
View Issue Details
0000087Core InformPhrases and functional programmingpublic2010-06-21 11:552010-07-01 23:07
EmacsUser 
graham 
normalcosmeticalways
closedfixed 
x86Mac OS X10.4
6E59 
6E72 
(cosmetic) Error message is badly worded
0000087: There is no line number when a phrase's implicit return cannot find a default value
The decision phrase in the source has an implicit return for when the repeat happens zero times. That return corresponds to no text, but in a large project it would help authors to at least point to the offending phrase. Also, in this case it wouldn't hurt to give some more explanation of <no text>.

Problem. I am unable to put any value into the return value '<no text>', which needs to be a meditation, because there is no meditation in the world.
 See the manual: 4.12 > Values that vary
The balcony is a room.
A meditation is a kind.
To decide what meditation is the ex nihilo meditation:
repeat with the idea running through the meditations:
decide on the idea.
No tags attached.
Issue History
2010-06-21 11:55EmacsUserNew Issue
2010-06-21 17:25jmcgrewStatusnew => confirmed
2010-06-22 16:32grahamNote Added: 0000131
2010-06-22 16:32grahamStatusconfirmed => resolved
2010-06-22 16:32grahamResolutionopen => fixed
2010-06-22 16:32grahamAssigned To => graham
2010-06-30 18:07jmcgrewFixed in Version => 6E72
2010-07-01 23:07jmcgrewStatusresolved => closed

Notes
(0000131)
graham   
2010-06-22 16:32   
Fixed. Inform now produces a much more helpful problem message here, and links to the declaration of the phrase, since that's where the unkeepable promise is made.