What’s happening in this Kotlin code?

What’s happening in this Kotlin code?

A small Kotlin challenge from a real permissions bug: each user has a set of roles. A teammate adds a role to one user, and a completely different user ends up with that role too. What happened? Watch the clip and share what you think below. Subscribe to Google for Developers → https://goo.gle/developers Speakers: Anaya Mehta