I outlined the issue I was having here: https://stackoverflow.com/questions/63040312/kotlin-classnotfoundexception-when-calling-global-function
But essentially, when I use a .let function inside a couple other nested functions, I get a ClassNotFoundException. When I instead declare a local variable, everything works fine. What gives?