From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d0452dbe16ac0df4 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: ObjectAda vs Gnat -- bugs Date: 1997/05/15 Message-ID: #1/1 X-Deja-AN: 242717347 References: <5lf6ka$nbg@service.polymtl.ca> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-05-15T00:00:00+00:00 List-Id: granger said <> Well I am not sure where you get the "probably gnat" from, but in this case it seems obvious that GNAT is right, unless I am missing something. You have an object renaming declaration and you are trying to rename a functoin. The GNAT message seems correct (I suppose that it would be nice if it would remind you that an enumeration literal is a function and not an object, since it is true that this can be a bit of a surprise!