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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8ecedf1d06879cf6,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-24 08:23:58 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.edu.tw!news.cc.nctu.edu.tw!nctuccca.edu.tw!howland.reston.ans.net!pipex!sunsite.doc.ic.ac.uk!bright.ecs.soton.ac.uk!wynkyn.ecs.soton.ac.uk!not-for-mail From: kst@ecs.soton.ac.uk (Ken Thomas) Newsgroups: comp.lang.ada Subject: Access discriminants in tasks (9X) Date: 24 Nov 1994 16:23:58 -0000 Organization: Electronics and Computer Science, University of Southampton Message-ID: <3b2emu$19f@wynkyn.ecs.soton.ac.uk> NNTP-Posting-Host: wynkyn.ecs.soton.ac.uk Keywords: Ada9X Date: 1994-11-24T16:23:58+00:00 List-Id: Can tasks being limited types have access discriminants. Barnes (4th edition) says yes (p432) but GNAT rejects the following fragment package Worker is type W is limited private; private task type Job(W_PTR : access W); -- GNAT objects type W is limited record Data : Integer; J : Job(W'ACCESS); end record; end Worker; Help on this area of Ada syntax would be helpful. Ken Thomas University of Southampton, UK kst@uk.ac.soton.ecs