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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,73cb216d191f0fef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.180.20.105 with SMTP id m9mr9155092wie.5.1366380668978; Fri, 19 Apr 2013 07:11:08 -0700 (PDT) Path: p18ni85637wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!News.Dal.Ca!citadel.nobulus.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Is this expected behavior or not Date: Thu, 11 Apr 2013 15:49:03 +0200 Organization: A noiseless patient Spider Message-ID: References: <1gnmajx2fdjju.1bo28xwmzt1nr.dlg@40tude.net> <3gv2jwc95otm.pl2aahsh9ox8.dlg@40tude.net> <1gkxiwepaxvtt$.u3ly33rbwthf.dlg@40tude.net> <1fmcdkj58brky.bjedt0pr39cd$.dlg@40tude.net> <1bj564vat3q1j$.1s4d00rlzx4ux$.dlg@40tude.net> <8bj2k30k7i19.w7ehsldwbf7x.dlg@40tude.net> <1o34nhpfuy6yl$.2orlukd1elr7.dlg@40tude.net> Mime-Version: 1.0 Injection-Date: Thu, 11 Apr 2013 13:46:20 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="9a0d11e58ba588466424cad2fbc22465"; logging-data="32561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yJi9R0oj7+zBDLgCRcC/N" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <1o34nhpfuy6yl$.2orlukd1elr7.dlg@40tude.net> Cancel-Lock: sha1:pxipvhu4pmb/P4CwUmn9dRIOcuM= X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2013-04-11T15:49:03+02:00 List-Id: Le 11/04/2013 09:59, Dmitry A. Kazakov a �crit : > type Complex is new Real with record > Img : Float; > end record; > > How is the compiler supposed to inherit "+"? The problem is not in the language. It is a wrong modelling, since a complex is not a specialisation of a real. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr