What’s going wrong with this Kotlin code?

Google for Developers Short Today

Description

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 → https://goo.gle/developers

Speakers: Anaya Mehta