|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000327||Core Inform||Equations, units, arithmetic||public||2010-10-09 19:18||2010-10-28 00:31|
|Assigned To||graham|| |
|Product Version||6E72|| |
|Target Version||Fixed in Version||6F95|| |
|Summary||0000327: Value check failure leads to an internal error instead of a warning|
|Description||Improper value usage leads to:|
An internal error has occurred: attempt to retrieve wrong pointer type as named_constant. The current sentence is 'now the granary of land price is 16 acres' ; the error was detected at line 758 of "Chapter 2/Memory.w". This should never happen, and I am now halting in abject failure.
I have also reproduced this on the current build for Fedora x86 Linux.
|Minimal Source Text To Reproduce|
"Bug Report 2010Oct09A" by Jim Lai
Use full-length room descriptions.
Toronto is a room.
Acreage is a kind of value. 1 acre (singular) specifies an acreage. 3 acres (plural) specifies an acreage.
A kingdom has acreage.
Granary is a kind of value. 1 bushel (singular) specifies a granary. 3 bushels (plural) specifies a
granary. A kingdom has granary.
Land price has a granary.
Land valuation rules is a rulebook.
A land valuation rule: now the granary of land price is 16 acres.
[a correct value above would be 16 bushels; however, this generates an internal error]
|Tags||No tags attached.|
|Effect||(critical) Compiler reports internal error|