Skip to content

Commit

Permalink
Editorial change: adding missing Sphinx class for compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
gusthoff committed Aug 26, 2023
1 parent 7fcdaa7 commit d9053da
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4327,6 +4327,7 @@ operations targeting objects at a *less-deep* level are illegal, as it's the
case for subprograms as well:

.. code:: ada run_button project=Courses.Advanced_Ada.Resource_Management.Access_Types.Accessibility_Rules_Access_To_Subprograms.Access_To_Subprogram_Accessibility_Error_Less_Deep
:class: ada-expect-compile-error

package Access_To_Subprogram_Types is

Expand Down Expand Up @@ -4420,6 +4421,7 @@ also said in that section that this attribute only exists for objects, not for
subprograms. We can use the previous example to illustrate this limitation:

.. code:: ada run_button project=Courses.Advanced_Ada.Resource_Management.Access_Types.Accessibility_Rules_Access_To_Subprograms.Access_To_Subprogram_Accessibility_Error_Same_Lifetime
:class: ada-expect-compile-error

package Access_To_Subprogram_Types is

Expand Down

0 comments on commit d9053da

Please sign in to comment.