Hallo, Peter!
I found the following bug in the Beta version of GPC.
Thanks for the detailed bug reports. They really help us getting rid of the bugs.
Variant records with tag fields cannot be initialized. The following program is not accepted by the compiler:
program test (output);
type t = record f1 : integer; case tag : integer of 0: (i : integer); 1: (r : real); end;
var r : t value (1, 1, 3.14);
Is this syntax compatible to any other compiler, or are we free to define this?
Peter