Skip to content

"This variable must either have a type annotation or be initialized" when first calling constructor and then prepending the variable initialization #59

@Strum355

Description

@Strum355

Reproduce:

  1. First call the constructor eg:
BufferedReader(reader)
  1. Prepend that line with the variable declaration/initialization
val buf = BufferedReader(reader)
  1. Errors with above message

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