What’s going wrong with this Kotlin code?

Watch on YouTube (Embed)

Switch Invidious Instance

Show annotations

6,479

114

Genre: Science & Technology

License: Standard YouTube license

Family friendly? Yes

Shared July 20, 2026

Devs, this Kotlin challenge arises from a refactoring bug you might have seen. Here’s the setup: a teammate tidies up some code that builds job configurations. The build succeeds and everything looks fine. Then we check the list, and instead of the config object we expect, it holds something else. Watch the video and share what you think caused the bug! Subscribe to Google for Developers → goo.gle/developers Speakers: Anaya Mehta