Skip to content

Incorrect compiler version #609

@Gouvernathor

Description

@Gouvernathor

When typing something as a Sequence or as a UByte, it gets highlighted with the following message : Class 'kotlin.sequences.Sequence' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
It also gives the path to the stlib .class file, which is in my kotlinc install directory, which is version 2.1.0.
I never installed any other version of Kotlin, so where does the 1.9.0 hallucination come from ? Why does the Kotlin module think this is the compiler version, and how do I make it see that ?

kotlinc -version returns the 2.1.0 version.
I have the JDK installed, javac -version and java -version both return version 23.0.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions