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

Language Server crashes when class Import keyword is present but empty #222

Closed
isc-bsaviano opened this issue Apr 1, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@isc-bsaviano
Copy link
Contributor

isc-bsaviano commented Apr 1, 2022

When you are editing a class definition and want to add an import, typing Import causes the LS to crash. If an Import statement already exists or is copied in, the class parses fine. The LS on crashes when the line only contains Import.

For example, a class in this state would cause a crash:

Import

Class User.abc
{

Parameter a;

}

I rolled back to LS 1.2.9 and still observed this behavior.

Originally reported here

@isc-bsaviano isc-bsaviano added the bug Something isn't working label Apr 1, 2022
@isc-bsaviano isc-bsaviano self-assigned this Apr 1, 2022
@isc-bsaviano isc-bsaviano changed the title Language Server crashes when addingImport to class Language Server crashes when adding Import to class Apr 1, 2022
@isc-bsaviano isc-bsaviano changed the title Language Server crashes when adding Import to class Language Server crashes when class Import keyword is present but empty Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant