|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000696||Core Inform||Assertions and creations||public||2011-07-12 09:03||2014-05-07 07:33|
|Assigned To||graham|| |
|Product Version||6G60|| |
|Target Version||Fixed in Version||6L02|| |
|Summary||0000696: Placement of figure name declarations in source can produce spurious errors|
|Description||If the declaration of a figure is placed between a "defined in table..." declaration and the table itself, Inform will not register the figure name before reading the table. |
This can result in compiler errors or silent namespace debacles, such as both an object and a figure with the same name (see the forum thread this report is derived from: http://www.intfiction.org/forum/viewtopic.php?f=7&t=2791 [^]).
|Minimal Source Text To Reproduce|
There is a room.
A zod is a kind of thing. A zod has a figure name called the associated image. Some zods are defined
by the Table of Zod Images.
Figure of Zod is the file "Zod.png".
Table of Zod Images
zod associated image
zod_1 Figure of Zod
|Tags||No tags attached.|
|Effect||(serious) Compiler rejects valid code|