pontem-network / dove

🛠️ Diem/Pontem Move package manager
MIT License
35 stars 15 forks source link

Dove: Looping in dependencies #94

Closed vladimirovmm closed 3 years ago

vladimirovmm commented 3 years ago

When creating a project with a recursive dependency, an error occurs:

Download:[https://github.com/vladimirovmm/for_test_dove_repositories]

thread 'main' has overflowed its stack fatal runtime error: stack overflow Aborted (core dumped)

Example of a recursive dependency: https://github.com/vladimirovmm/for_test_dove_repositories/tree/cyclic_dependency

Or in dove.toml:

dependencies = [
    { git = "https://github.com/pontem-network/move-stdlib", tag = "v0.1.2" },
    { git = "https://github.com/vladimirovmm/for_test_dove_repositories", branch = "cyclic_dependency" },
]
RIg410 commented 3 years ago

Done