|Anonymous | Login | Signup for a new account||2018-10-16 05:02 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002060||Core Inform||Activities||public||2018-05-28 08:31||2018-05-28 08:48|
|Target Version||Fixed in Version|
|Summary||0002060: namespace clash between activity and action|
|Description||Declaring 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
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 Information||The 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.
|Tags||No tags attached.|
|Effect||(serious) Compiler rejects valid code|
Possibly related to http://inform7.com/mantis/view.php?id=1843 [^] , which is also about an overly-eager "of" preposition.
|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|