ponylang / pony-stable

:horse: A simple dependency manager for the Pony language.
BSD 2-Clause "Simplified" License
134 stars 18 forks source link

Builds that contain cyclic dependencies cause an infinite loop #96

Closed pzel closed 5 years ago

pzel commented 5 years ago

As demonstrated in this demo app, running stable env ponyc in a project that contains cyclic dependencies creates a process that never finishes, consuming more and more memory until it's killed.

Bug report

Current behavior

Cyclic dependencies cause stable env ponyc to fall into an infinite loop.

Expected behavior

Cyclic dependencies get compiled, as happens when using 'plain' ponyc.

Software versions where bug appears:

SeanTAllen commented 5 years ago

@pzel are you interested in working on a fix for this?

pzel commented 5 years ago

Yes, I can take a stab.