



Compiler bug C62125,
fixed in release 6.30 of the compiler, was triggered by the use
of obj.prop (instead of obj.&prop-->0)
to access the first word of a common property array.
The Release Notes state: The problem is that the 6.31 compiler is now generating this error
when using obj.prop
to access the first word of an individual property array. None submitted.
About Patches
Issue C63101
Strict check for property array access
Submitted by: Roger Firth
Appeared in: Compiler 6.31
Fixed in: -
Problem
Strict mode now tests for the use of @put_prop or @get_prop opcodes
when a common property is longer than two bytes -- the Z-Machine
Standards Document says that this is illegal, and that the result is unspecified.
The error message is of the form "[** Programming error:
obj (object number N) has a property prop, but it is longer than
2 bytes so you cannot use "." to read **]".
This means that you have used the obj.prop construct in the situation
where
Solution
Last updated 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.