Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002060Core InformActivitiespublic2018-05-28 08:312018-05-28 08:48
Assigned To 
Platformx86OSWindowsOS Version7
Product Version6M62 
Target VersionFixed in Version 
Summary0002060: namespace clash between activity and action
DescriptionDeclaring a new action "printing" causes a clash with the "printing the description of a dark room" activity. The particular line in the Standard Rules which causes the error is "begin the printing the description of a dark room activity".

Problem. In the sentence 'begin the printing the description of a dark room activity' , it looks as if you intend 'the description of a dark room' to be a property, but 'a room' is not specific enough about who or what the owner is.

 Sometimes this mistake is made because Inform mostly doesn't understand the English language habit of referring to something indefinite by a common noun - for instance, writing 'change the carrying capacity of the container to 10' throws Inform because it doesn't understand that 'the container' means one which has been discussed recently.

I was trying to match this phrase:

 begin the (printing the description of a dark room - activity) activity

I recognised:

printing the description of a dark room = an activity
Minimal Source Text To Reproduce
Area is a room. Printing is an action applying to one thing.
Additional InformationThe bug is new in 6M62.

More generally, this code produces the same error:

Area is a room.
Fooing the bar of a thing is an activity.
When play begins: begin the fooing the bar of a thing activity.
Bar is a kind of value. The bars are qux and baz. A thing has a bar.
Fooing is an action applying to one thing.

TagsNo tags attached.
Effect(serious) Compiler rejects valid code
Attached Files

- Relationships
related to 0001843confirmed Property names containing the word "of" are sometimes misparsed, depending on unrelated code 

-  Notes
zarf (developer)
2018-05-28 08:48


Possibly related to [^] , which is also about an overly-eager "of" preposition.

- Issue History
Date Modified Username Field Change
2018-05-28 08:31 DrFell New Issue
2018-05-28 08:48 zarf Note Added: 0004776
2018-05-28 08:48 zarf Status new => confirmed
2018-05-28 08:48 zarf Relationship added related to 0001843

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker