Detect dependency cycles earlier and print a better error.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 17 Apr 2020 18:49:25 +0000 (19:49 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 17 Apr 2020 19:08:00 +0000 (20:08 +0100)
commit5f25b73757c74fde044315e9b82aa70da8fcfbc0
treeefd8d488e67301f38fcc7a766e494371fe34f592
parentcda1f0160b96e57a0037085f33aa2d440453a30b
Detect dependency cycles earlier and print a better error.

This has a noticable negative effect on performance so we should
revisit the algorithm when we have the time.
src/deps.ml
tests/20-circular-dep.gl [new file with mode: 0644]
tests/20-circular-dep.sh [new file with mode: 0755]