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: 103376,b553d2c02a2df59f,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.newsland.it!proxad.net!cleanfeed2-b.proxad.net!nnrp5-2.free.fr!not-for-mail Newsgroups: comp.lang.ada Subject: limited types (Was: Records that could be arrays) From: Thierry Bernier Message-ID: User-Agent: Xnews/5.04.25 Date: 24 Feb 2006 16:51:03 GMT Organization: Guest of ProXad - France NNTP-Posting-Date: 24 Feb 2006 17:51:03 MET NNTP-Posting-Host: 82.228.125.157 X-Trace: 1140799863 nnrp5-2.free.fr 18673 82.228.125.157:32878 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:3140 Date: 2006-02-24T17:51:03+01:00 List-Id: Stephen Leake wrote : > If we implemented points as limited private types, we wouldn't be Please do not. limited is like the flu : a record containing a limited field must be limited itself. For example, you can not extend a Gtk.Window.Gtk_Window_Type with an extension containing a limited type, or else the root of these types must be limited (and I don't own it). limited should be used only when the type is really limited (when using accesses, tasks, etc). Disagrees ? -- Thierry Bernier