Compiler problem
Stan Warford (warford@pepperdine.edu)
Sun, 18 Aug 96 22:40:24 PDT
Hi all,
The following program puts my compiler into an endless loop:
=========================================================
MODULE PrivColorTest;
IMPORT Ports, Out;
PROCEDURE OutColor* (c: Ports.Color);
BEGIN
CASE c OF
Ports.black: Out.String("black")|
Ports.red: Out.String("red")|
Ports.green: Out.String("green")|
Ports.blue: Out.String("blue")
ELSE
Out.String("other")
END
END OutColor;
END PrivColorTest.
=========================================================
but it will compile ok if I omit the last (blue) case. I
am using version 1.2.1 on a PowerMac. Can someone test
whether it gives the compiler problems on your system?
Thanks.
Stan Warford
Pepperdine University
warford@pepperdine.edu