gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] assignment of nested records


From: Gaius Mulley
Subject: Re: [Gm2] assignment of nested records
Date: Sat, 12 Dec 2009 01:03:53 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Martin Kalbfuß <address@hidden> writes:

> Hi,
>
> This code doesn't work. But following the siso tandard it should.
> The compiler should now the nested type from the record.
> I think the same is true for multidimensional arrays. But I didn't
> checked this.
>
> MODULE nested;
>
> IMPORT EXCEPTIONS;
>
> TYPE NestedRecord = RECORD
>       firstMember : INTEGER;
>       secondMebmer : INTEGER;
>      END;
>
>      TopRecord = RECORD
>       firstMember  : NestedRecord;
>       secondMember : INTEGER; 
>      END;
>
> VAR topRecord    : TopRecord;
>
> BEGIN
>       topRecord := TopRecord{ { 1, 2 }, 3 };
> END nested.
>
> Thanks,

Hi Martin,

thanks for the report - yes I can confirm this bug - again will fix
this..

regards,
Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]