[Bugfix]Fixing Anonymous Enum type in variant record
Summary
Fixes a bug where a anonymous type was not allowed for the case of a variant record if no switching field was declared
What is the current bug behavior?
type
TTestRec = record
case (A, B) of // Error expected Identifier but ( found
A: (I: Integer);
B: (D: Double);
end;
What is the behavior after applying this patch?
The example above compiles now overlaying the A and the B branch of the case
Edited by Frederic Kehrein