Comment by π norayr
Re: "Opaque Types in Modula-2"
dsar, who is an expert in m2 said about your post:
By the way, that code shouldn't compile, you can't access members of an opaque type
2024-12-30 Β· 1 year ago
3 Later Comments β
π½ TKurtBond [OP] Β· 2024-12-31 at 22:46:
And thatβs what I thought, too. Maybe a bug in GNU Modula-2?
π norayr [mod] Β· 2025-01-06 at 01:14:
it's possible. if you write in gm2 mailing list, gaius will respond.
π½ TKurtBond [OP] Β· 2025-01-15 at 20:32:
Emailed gm2 mailing list.
β Error with Opaque types in GNU Modula-2?
Original Post
Opaque Types in Modula-2 β My knowledge of Modula-2 is limited to having read Programming in Modula-2 and having written a few toy programs. I'm a little confused about opaque types in Modula-2. They are mentioned in passing in Programming in Modula-2, 4E, Chapter 24, "Definition and Implementation Parts", on page 83. I thought that to make an opaque type, you declared a type in the definition module as [preformatted] and then in the implementation module you finish that declaration as [...