@@ -87,7 +87,7 @@ def in_scope_ext_reqs
8787 @in_scope_ext_reqs += portfolio . in_scope_ext_reqs
8888 end
8989
90- @in_scope_ext_reqs . uniq ( &:name ) . sort_by ( &:name )
90+ @in_scope_ext_reqs = @in_scope_ext_reqs . uniq ( &:name ) . sort_by ( &:name )
9191 end
9292
9393 # @return [Array<ExtensionRequirement>] Sorted list of all mandatory extension requirements listed by the group.
@@ -99,7 +99,7 @@ def mandatory_ext_reqs
9999 @mandatory_ext_reqs += portfolio . mandatory_ext_reqs
100100 end
101101
102- @mandatory_ext_reqs . uniq ( &:name ) . sort_by ( &:name )
102+ @mandatory_ext_reqs = @mandatory_ext_reqs . uniq ( &:name ) . sort_by ( &:name )
103103 end
104104
105105 # @return [Array<ExtensionRequirement>] Sorted list of all optional extension requirements listed by the group.
@@ -111,7 +111,7 @@ def optional_ext_reqs
111111 @optional_ext_reqs += portfolio . optional_ext_reqs
112112 end
113113
114- @optional_ext_reqs . uniq ( &:name ) . sort_by ( &:name )
114+ @optional_ext_reqs = @optional_ext_reqs . uniq ( &:name ) . sort_by ( &:name )
115115 end
116116
117117 # @return [Array<Extension>] Sorted list of all mandatory or optional extensions referenced by the group.
@@ -123,7 +123,8 @@ def in_scope_extensions
123123 @in_scope_extensions += portfolio . in_scope_extensions
124124 end
125125
126- @in_scope_extensions . uniq ( &:name ) . sort_by ( &:name )
126+ @in_scope_extensions = @in_scope_extensions . uniq ( &:name ) . sort_by ( &:name )
127+
127128 end
128129
129130 # @return [Array<Instruction>] Sorted list of all instructions associated with extensions listed as
@@ -137,7 +138,8 @@ def in_scope_instructions
137138 @in_scope_instructions += portfolio . in_scope_instructions
138139 end
139140
140- @in_scope_instructions . uniq ( &:name ) . sort_by ( &:name )
141+ @in_scope_instructions =
142+ @in_scope_instructions . uniq ( &:name ) . sort_by ( &:name )
141143 end
142144
143145 # @return [Array<Csr>] Unsorted list of all CSRs associated with extensions listed as
0 commit comments