3 type Abstract_Food
is tagged null record;
4 type Abstract_Food_Access
is access Abstract_Food
'Class;
6 type Fruit
is new Abstract_Food
with record
10 type Bananas
is tagged record
11 Inside
: Abstract_Food_Access
;
15 (B
: Bananas
) return Boolean is (Fruit
(B
.Inside
.all).Worm
);