mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-25 00:24:29 +01:00
* fixed duplicate field names in variant record parts
git-svn-id: trunk@28822 -
This commit is contained in:
parent
fb18eac0f3
commit
5b39b20a3d
@ -6,7 +6,7 @@ type
|
|||||||
tr = packed record
|
tr = packed record
|
||||||
l: longint;
|
l: longint;
|
||||||
case byte of
|
case byte of
|
||||||
0: (l: longint);
|
0: (x: longint);
|
||||||
1: (e: ta);
|
1: (e: ta);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ Type
|
|||||||
End; { Record }
|
End; { Record }
|
||||||
|
|
||||||
TSomeRecord = Packed Record
|
TSomeRecord = Packed Record
|
||||||
Case A : Cardinal OF
|
Case x : Cardinal OF
|
||||||
0 : (A : TSomeRec1);
|
0 : (A : TSomeRec1);
|
||||||
End; { Record }
|
End; { Record }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user