MantisBT - Documentation, Examples, and Web Site
View Issue Details
0001225Documentation, Examples, and Web SiteExamplespublic2014-04-23 19:302014-05-07 07:38
mattweiner 
graham 
normalmildalways
closedfixed 
x86Mac OS X10.7
6G60 
6L02 
0001225: Ex. 348, "Copper River," contains an is-are applied to a list
In Copper River, the following line of code:

if the noun contains something interesting:
say "[A list of interesting things in the noun] [is-are] in [the noun]";

is presumably meant to print "is" if the list contains one singular thing and "are" otherwise. But the is-are agrees with the last item in the list.
Running example 348:

throw powder at Fiona/take salmon/open cabinet/take descaling solution/put salmon and solution on shelf/search shelf
Output of the last command:

>search shelf
A very scaly salmon and a bottle of descaling solution is on the shelf (alongside assorted dull items).
No tags attached.
Issue History
2014-04-23 19:30mattweinerNew Issue
2014-04-23 20:11zarfNote Added: 0002638
2014-04-23 20:11zarfStatusnew => confirmed
2014-05-04 11:44grahamNote Added: 0002666
2014-05-04 11:44grahamStatusconfirmed => resolved
2014-05-04 11:44grahamResolutionopen => fixed
2014-05-04 11:44grahamAssigned To => graham
2014-05-07 07:37jmcgrewFixed in Version => 6L02
2014-05-07 07:38jmcgrewStatusresolved => closed

Notes
(0002638)
zarf   
2014-04-23 20:11   
Confirmed.

[numerical is-are] is also wrong, because the "say a list" phrase does not set say__n. (Maybe it should?)


(0002666)
graham   
2014-05-04 11:44   
This is all now done with adaptive text, so the issue doesn't arise.