[Ada] Update reference with description of type resolution
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 7 Dec 2020 22:47:12 +0000 (23:47 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 28 Apr 2021 09:38:01 +0000 (05:38 -0400)
gcc/ada/

* sem_res.ads: Update reference in comment.
* sem_type.ads: Fix casing in a name of a unit.

gcc/ada/sem_res.ads
gcc/ada/sem_type.ads

index 44a8487..d538566 100644 (file)
@@ -31,7 +31,7 @@ with Types; use Types;
 
 package Sem_Res is
 
-   --  As described in Sem_Ch4, the type resolution proceeds in two phases.
+   --  As described in Sem_Type, the type resolution proceeds in two phases.
    --  The first phase is a bottom up pass that is achieved during the
    --  recursive traversal performed by the Analyze procedures. This phase
    --  determines unambiguous types, and collects sets of possible types
index 6c6d5eb..4dea6e2 100644 (file)
@@ -85,7 +85,7 @@ package Sem_Type is
    --  with the appropriate use clause. The global variable Candidate_Type is
    --  set in Add_One_Interp whenever an interpretation might be legal for an
    --  operator if the type were directly visible. This variable is used in
-   --  sem_ch4 when no legal interpretation is found.
+   --  Sem_Ch4 when no legal interpretation is found.
 
    Candidate_Type : Entity_Id;