comp.lang.ada
 help / color / mirror / Atom feed
From: Mehdi Saada <00120260a@gmail.com>
Subject: attributes on expressions, not name
Date: Wed, 28 Feb 2018 08:57:41 -0800 (PST)
Date: 2018-02-28T08:57:41-08:00	[thread overview]
Message-ID: <b718fabf-b7fd-4b97-b633-7082a0ab7214@googlegroups.com> (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.

             reply	other threads:[~2018-02-28 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 16:57 Mehdi Saada [this message]
2018-02-28 17:55 ` attributes on expressions, not name Niklas Holsti
2018-02-28 18:38   ` Alejandro R. Mosteo
2018-02-28 21:36     ` Mehdi Saada
replies disabled

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