1
0
mirror of https://github.com/natnat-mc/moonbuild synced 2026-05-14 06:51:14 +02:00

fix crash when multiple targets depend on the same target

This commit is contained in:
Codinget
2020-11-09 19:53:05 +01:00
parent ee0d76db98
commit 69e781bc8f
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ transclosure = (obj, prop) ->
i = 1
set = {}
imp = (e) ->
return unless e[prop]
for v in *e[prop]
if not set[v]
elems[i], i = v, i+1