]> _ Git - alire.git/commit
Workround for issue #729 (#731)
authorSimon Wright <simon@pushface.org>
Mon, 10 May 2021 13:36:14 +0000 (14:36 +0100)
committerGitHub <noreply@github.com>
Mon, 10 May 2021 13:36:14 +0000 (15:36 +0200)
commit20efc54a47ddd62faeb483301c9cb28a968ca80e
tree6231317cd868b7d47b27d587bcffaec1b447578b
parentc63615df9bed6212881f61d769ab189b3f425a8b
Workround for issue #729 (#731)

Updated rules in 3.10.2 and 6.4.1(6) caused the use of
Constant_Reference, which takes the Container as an aliased parameter,
to trip over its use on a container passed as an un-aliased parameter.

  * src/alire/alire-conditional_trees.ads (Root): replace
      Constant_Reference by Element.
  * src/alire/alire-dependencies-states.adb ("="): likewise.
  * src/alire/alire-conditional_trees.adb (To_YAML (1)): likewise.
    (Image_One_Line): likewise.
    (Iterate): replace Constant_Reference.Element.all by just Element.
src/alire/alire-conditional_trees.adb
src/alire/alire-conditional_trees.ads
src/alire/alire-dependencies-states.adb