Skip to content

Commit 59552db

Browse files
committed
Revert "Fix pp to correctly handle hashes"
* This reverts commit ce8c0b1. * Ruby 3 kwargs are implemented now, and this is needed to pass PPTestModule::PPSingleLineTest#test_hash_in_array and also pp [Hash.ruby2_keywords_hash({})]
1 parent f83a5ff commit 59552db

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/mri/pp.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,7 @@ def seplist(list, sep=nil, iter_method=:each) # :yield: element
237237
else
238238
sep.call
239239
end
240-
if defined?(::TruffleRuby)
241-
yield(*v)
242-
else
243-
yield(*v, **{})
244-
end
240+
yield(*v, **{})
245241
}
246242
end
247243

0 commit comments

Comments
 (0)