lib/json/ld/compact.rb in json-ld-1.0.5 vs lib/json/ld/compact.rb in json-ld-1.0.6

- old
+ new

@@ -131,10 +131,10 @@ if expanded_item.has_key?('@index') key = context.compact_iri('@index', :vocab => true, :quiet => true) compacted_item[key] = expanded_item['@index'] end else - raise ProcessingError::CompactionToListOfLists, + raise JsonLdError::CompactionToListOfLists, "key cannot have more than one list value" if result.has_key?(item_active_property) end end if %w(@language @index).include?(container)