comp.lang.ada
 help / color / mirror / Atom feed
* attributes on expressions, not name
@ 2018-02-28 16:57 Mehdi Saada
  2018-02-28 17:55 ` Niklas Holsti
  0 siblings, 1 reply; 4+ messages in thread
From: Mehdi Saada @ 2018-02-28 16:57 UTC (permalink / raw)


why aren't attributes allowed on expressions ?
Like LINE'Length, assuming LINE is a function returning STRING.
That limitation is PAINFUL.
The type of an expression is always static, even when it is a class-wide type, an attribute defined for the type of that expression, will never fail. At least I can't see any case. Please tell me if I'm wrong.

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

end of thread, other threads:[~2018-02-28 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28 16:57 attributes on expressions, not name Mehdi Saada
2018-02-28 17:55 ` Niklas Holsti
2018-02-28 18:38   ` Alejandro R. Mosteo
2018-02-28 21:36     ` Mehdi Saada

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