lib/hx.rb in hx-0.22.0 vs lib/hx.rb in hx-0.23.0

- old
+ new

@@ -584,10 +584,10 @@ to_process = Set.new(source_names) until to_process.empty? need_updating = Set.new for name in to_process depth = source_depths[name] + 1 - if depth >= source_names.length + if depth > source_names.length raise "cycle in source graph involving #{name}" end for input_name in source_dependencies[name] if depth > source_depths[input_name] source_depths[input_name] = depth