yes, then you need to check and fix the facet sett...
# intellij
y
yes, then you need to check and fix the facet settings
d
Where else are they, I'm in Android Studio 3.0.1?
In Settings/Kotlin Compiler, it's already at 1.2
y
ah, looks like AS hides them from the UI
d
Any workaround?
d
Did it, but I still have the problem... do I have to change the plugin version in build.gradle even though the version of Kotlin I have is only 1.2?
y
no
@alexey.sedunov could you please help?
d
Even compile is giving an Unresolved reference: lateinitVar error...? Anything to be done?
More specifically for
::userAccount.isInitialized
, getting
Copy code
e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: org.jetbrains.kotlin.codegen.AccessorForPropertyDescriptor cannot be cast to org.jetbrains.kotlin.codegen.AccessorForPropertyBackingField
Cause: org.jetbrains.kotlin.codegen.AccessorForPropertyDescriptor cannot be cast to org.jetbrains.kotlin.codegen.AccessorForPropertyBackingField
File being compiled and position: (30,22) in /home/.../AccountRepository.kt
PsiElement: isInitialized
a
Have you reimported Gradle project after setting language version to 1.2 in Settings/Kotlin Compiler?
y
this "cannot be cast" exception looks like a new bug we haven't seen yet. can you please file a YouTrack issue?
d
Sure, I'll try later today... is the info here enough, or should I include more of the stack trace or something else?