lib/activefacts/cql/compiler/constraint.rb in activefacts-cql-1.8.3 vs lib/activefacts/cql/compiler/constraint.rb in activefacts-cql-1.9.1

- old
+ new

@@ -295,10 +295,10 @@ # and every clause becomes a Step (and a RoleSequence). # The returned RoleSequences contains the RoleRefs for the common_bindings. # Create a query with a variable for every binding and all steps: query = build_variables(clauses_list) - roles_by_binding = build_all_steps(clauses_list) + roles_by_binding = build_all_steps(query, clauses_list) query.validate # Create the projected RoleSequence for the constraint: role_sequence = @constellation.RoleSequence(:new) @common_bindings.each do |binding|