comp.lang.ada
 help / color / mirror / Atom feed
* "subprogram must not be deeper than access type"
@ 2020-10-03  4:39 andrew...@gmail.com
  2020-10-03  6:41 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 4+ messages in thread
From: andrew...@gmail.com @ 2020-10-03  4:39 UTC (permalink / raw)


Hello,

I'm trying my hand at a small rosettacode.org example:

https://codeshare.io/an080j

What I don't understand is when I'm creating the various packages to serve as handlers, I get the following compile-time errors:

gprbuild : event_handlers_window.adb:13:03: instantiation error at gtk-handlers.ads:1039
event_handlers_window.adb:13:03: subprogram must not be deeper than access type
event_handlers_window.adb:14:03: instantiation error at gtk-handlers.ads:437
event_handlers_window.adb:14:03: subprogram must not be deeper than access type

How am I making a subprogram deeper than an access type exactly?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-06  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03  4:39 "subprogram must not be deeper than access type" andrew...@gmail.com
2020-10-03  6:41 ` Dmitry A. Kazakov
2020-10-06  4:00   ` andrew...@gmail.com
2020-10-06  6:08     ` Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox