Skip to content

Commit 53f3b02

Browse files
committed
Editorial change: replacing bullet points by table
1 parent cfa0990 commit 53f3b02

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

content/courses/advanced-ada/parts/control_flow/exceptions.rst

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -829,26 +829,32 @@ For completeness, these are the error conditions checked by the
829829
`Action Item (AI) 12-0309 document <http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai12s/ai12-0309-1.txt?rev=1.5&raw=N>`_),
830830
according to their definition in the Ada Reference Manual:
831831

832-
- :arm22:`3.2.4 Subtype Predicates <3-2-4>` (29.1/4): it checks that subtypes
833-
with predicates are not used to index an array in a generic bodies;
834-
835-
- :arm22:`5.5 Loop Statements <5-5>` (8.1/5): it checks that the maximum number
836-
of chunks is greater than zero;
837-
838-
- :arm22:`Parameter Associations <6-4-1>` (13.4/4): it checks that the default
839-
value of an out parameter is convertible: an error occurs when we have an out
840-
parameter with :ada:`Default_Value`, and the actual is a view conversion of
841-
an unrelated type that does not have :ada:`Default_Value`.
842-
843-
- :arm22:`Formal Private and Derived Types <12-5-1>` (23.3/2): it checks that
844-
there is no misuse of functions in a generic with a class-wide actual type.
845-
846-
- :arm22:`Operational and Representation Attributes <13-3>` (75.1/3): it checks
847-
that that there are no colliding :ada:`External_Tag` values.
848-
849-
- :arm22:`Unchecked Union Types <B-3-3>` (22/2): it checks that there is no
850-
misuse of operations of :ada:`Unchecked_Unions` without inferable
851-
discriminants.
832+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
833+
| Ada Reference Manual | Paragraph | Description |
834+
+===============================================================+===========+=================================================+
835+
| :arm22:`3.2.4 Subtype Predicates <3-2-4>` | (29.1/4) | It checks that subtypes with predicates are |
836+
| | | not used to index an array in a generic bodies. |
837+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
838+
| :arm22:`5.5 Loop Statements <5-5>` | (8.1/5) | It checks that the maximum number of chunks is |
839+
| | | greater than zero. |
840+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
841+
| :arm22:`6.4.1 Parameter Associations <6-4-1>` | (13.4/4) | It checks that the default value of an out |
842+
| | | parameter is convertible: an error occurs when |
843+
| | | we have an out parameter with |
844+
| | | :ada:`Default_Value`, and the actual is a |
845+
| | | view conversion of an unrelated type that does |
846+
| | | not have :ada:`Default_Value`. |
847+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
848+
| :arm22:`12.5.1 Formal Private and Derived Types <12-5-1>` | (23.3/2) | It checks that there is no misuse of functions |
849+
| | | in a generic with a class-wide actual type. |
850+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
851+
| :arm22:`13.3 Operational and Representation Attributes <13-3>`| (75.1/3) | It checks that there are no colliding |
852+
| | | :ada:`External_Tag` values. |
853+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
854+
| :arm22:`B.3.3 Unchecked Union Types <B-3-3>` | (22/2) | It checks that there is no misuse of |
855+
| | | operations of :ada:`Unchecked_Unions` without |
856+
| | | inferable discriminants. |
857+
+---------------------------------------------------------------+-----------+-------------------------------------------------+
852858

853859
.. admonition:: In the Ada Reference Manual
854860

0 commit comments

Comments
 (0)