What might cause IntelliJ IDEA (latest EAP, 2021.2) to no longer analyze and resolve symbols in a
.main.kts
script?
Edit: Opened an issue here: https://youtrack.jetbrains.com/issue/KTIJ-19059
Edit 2: Found a workaround that involves not using EAP to edit Kotlin scripts, added in the issue comment.