Skip to content

Missing errors #407

Open
Open
@Baehn

Description

@Baehn

I noticed that the language server is unable to see all errors. E.g. for the modified code below from App.kt in https://github.com/fwcd/kotlin-quick-start/ no error is reported:

package quick.start

shouldMarkThisAsError

class App {
    val greeting: String
        get() = "Hello world."
}

however running ./gradlew compileKotlin reports:
e: [...]/kotlin-quick-start/src/main/kotlin/quick/start/App.kt: (3, 1): Expecting a top level declaration

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdiagnosticsLinting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions