Open aixp opened 4 years ago
Yes. Reproduces for me. I agree - I think it should work.
Here's a workaround:
MODULE A;
IMPORT SYSTEM;
TYPE
ADDRESS* = SYSTEM.ADDRESS;
T* = PROCEDURE (adr: ADDRESS);
PROCEDURE P*(t: T);
BEGIN
END P;
END A.
MODULE B;
IMPORT SYSTEM, A;
PROCEDURE P0(adr: A.ADDRESS);
BEGIN
END P0;
PROCEDURE P;
BEGIN
A.P(P0)
END P;
END B.
voc -s a.mod b.mod -m
a.mod Compiling A. 340 chars.
b.mod Compiling B. Main program. 449 chars.
Will this work for you?
It may be the symbol fingerprinting code, that took me a long time to understand last time I needed to work on it, and I've forgotten everything I knew :-(.
Or it may be deeper - I think PROCEDURE type equivalence has some special case code.
-- Dave.
Yes, it works for me.