[Oberon] undefined record field when compiling in NO.

peasthope at shaw.ca peasthope at shaw.ca
Fri Jan 3 09:21:08 CET 2014


In the alpha release of NO, the compiler applied to 

MODULE Test;
IMPORT  ConfigInput;
PROCEDURE Frame(F: ConfigInput.Frame);
VAR x: INTEGER;
BEGIN
	x := F.x
END Frame;
BEGIN END Test.

reports
 compiling Test
		pos    105  err  83	undefined record field
.
This is in ConfigInput.
TYPE
	Frame* = POINTER TO RECORD (Display.Frame)
		keys: SET;
		x, y: INTEGER;
		text: Texts.Text
	END;

So F.x in Test should be legitimate.
Can anyone explain why the compiler complained?

Thanks,             ... Peter E.




-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "



More information about the Oberon mailing list