Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Strum355 opened this issue Oct 10, 2018 · 0 comments
Labels
bug Something isn't working diagnostics Linting

Comments

@Strum355
Copy link
Contributor

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
@fwcd fwcd added bug Something isn't working diagnostics Linting labels Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working diagnostics Linting
Projects
None yet
Development

No branches or pull requests

2 participants