mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-13 07:47:39 +02:00
Make circular dep error message more meaningful
This commit is contained in:
parent
1c87635236
commit
33c9748a33
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@
|
|||
(if (= idx-my-imports idx-imports-me)
|
||||
idx-my-imports
|
||||
(+ 1 idx-my-imports)))
|
||||
(error "Internal error: unable to import library" lib/dep))))
|
||||
(error "Unable to import library, possibly due to a circular dependency:" lib/dep))))
|
||||
))
|
||||
libs/deps)
|
||||
(map car result)))
|
||||
|
|
Loading…
Add table
Reference in a new issue