commit | ba8694b650b60c29126fd958575ffa1ca4f6c415 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Thu Jul 01 08:55:15 2021 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Mon Aug 02 10:11:23 2021 -0600 |
tree | a4f420223e3b0da8bd2b1608694b70bfe8eeac3b | |
parent | 17a3da839932b79dcccfdf41867965892b756540 [diff] |
Handle type qualifier for enumeration name Pierre-Marie noticed that the Ada expression "TYPE'(NAME)" resolved incorrectly when "TYPE" was an enumeration type. Here, "NAME" should be unambiguous. This patch fixes this problem. Note that the patch is not perfect -- it does not give an error if TYPE is an enumeration type but NAME is not an enumerator but does have some other meaning in scope. Fixing this proved difficult, and so I've left it out.