[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] another one, with procedure value being returned, present as o
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] another one, with procedure value being returned, present as of 0.9.8-1.2 |
Date: |
Mon, 20 Sep 2010 14:01:39 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Dragiša Durić <address@hidden> writes:
> % gm2 -fiso -c TestCase15.mod
> TestCase15.mod:13:5: error: attempting to RETURN a value with an incompatible
> type (BOOLEAN) from a function which returns (ErrPROC)
>
> MODULE TestCase15;
>
> TYPE
> ErrPROC = PROCEDURE(): BOOLEAN;
>
> PROCEDURE NILErrorProc(): BOOLEAN;
> BEGIN
> RETURN FALSE;
> END NILErrorProc;
>
> PROCEDURE GetErrorProc(): ErrPROC;
> BEGIN
> RETURN NILErrorProc;
> END GetErrorProc;
>
> BEGIN
> END TestCase15.
Hi Dragiša,
I've fixed this in my local copy of the cvs - will push it out later
tonight,
regards,
Gaius
- [Gm2] another one, with procedure value being returned, present as of 0.9.8-1.2, Dragiša Durić, 2010/09/19
- Re: [Gm2] another one, with procedure value being returned, present as of 0.9.8-1.2, Gaius Mulley, 2010/09/20
- Re: [Gm2] another one, with procedure value being returned, present as of 0.9.8-1.2,
Gaius Mulley <=
- Re: [Gm2] another one, with procedure value being returned, present as of 0.9.8-1.2, Gaius Mulley, 2010/09/21