Skip to content

Commit

Permalink
fix passing member types
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 8, 2022
1 parent 744983e commit 63aecce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dbus/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def self.from_typed(value, member_types:)
Data.make_typed(member_type, i)
end

new(items) # initialize(::Array<Data::Base>)
new(items, member_type: member_type) # initialize(::Array<Data::Base>)
end

# FIXME: should Data::Array be mutable?
Expand Down

0 comments on commit 63aecce

Please sign in to comment.