Skip to content

Commit

Permalink
Correctly mark list values as seen
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Dingemans authored and gkellogg committed Apr 19, 2019
1 parent 83d85d8 commit 92a7cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdf/turtle/writer.rb
Expand Up @@ -363,7 +363,7 @@ def order_subjects
# Mark as seen lists that are part of another list
@lists.values.map(&:statements).
flatten.each do |st|
seen[st.object] if @lists.has_key?(st.object)
seen[st.object] = true if @lists.has_key?(st.object)
end

# List elements which are bnodes should not be targets for top-level serialization
Expand Down

0 comments on commit 92a7cbd

Please sign in to comment.