Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Scala 2.12 map.keySet leaks reference to map #11727
Hello, we discovered with prod pain and crashes that
It can be seen for ex here: https://gist.github.com/fanf/ff39065f7f9738467e40929ad7490da1
Is this known/wanted and I'm just 13 years late in that knowledge, or is it a bug (at least a bad documentation)?
The problem is likely the references to self in
Yes, it would be very appreciated to make obvious the fact that it's a view and not a new object, AND what is the best (most efficient) method to get a fresh, independant