On Mon, 23 Oct 2017 05:28:04 -0700, c...@zoffix.com wrote: > This code produces an LTA error: > > my %days := SetHash.new: Date.today … Date.new: '2030-04-02'; > %days ∖= %days.grep: *.key.day-of-week > 5; > > First, the error reads "Cannot modify an immutable SetHash" which is > confusing, > since SetHash is a mutable type. > > Second, the error dumps all of the contents of the SetHash, so for > this code, > the user has to scroll several pages up just to get to the error > itself.
This no longer errors out. Closing without tests, with the tests for new behaviour to be written when closing a related https://github.com/rakudo/rakudo/issues/1203