Tom Mulcahy
09/12/2024, 10:24 PMimport Foo.Companion.bar
works, but Android Studio seems to expect import Foo_main.Foo.Companion.bar
. What IDE are you all using to write kts? Is there a way to use Android Studio (without a sea of red and no auto-complete)?ilya.chernikov
09/13/2024, 7:57 AM-language-version 1.9
to the compiler.Tom Mulcahy
09/13/2024, 5:57 PM-language-version 1.9
approach - I changed my shebang to:
#!/usr/bin/env kotlin -language-version 1.9
and it works great now. The important behavior is consistent between the IDE and the runtime. Thanks!!