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

Expressions inlined with imports can be lost #52

Closed
hick209 opened this issue Jul 10, 2020 · 1 comment
Closed

Expressions inlined with imports can be lost #52

hick209 opened this issue Jul 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hick209
Copy link
Contributor

hick209 commented Jul 10, 2020

If we try to format this:

import com.example.Sample
import com.example.zab // test
import com.example.foo ; val x = Sample(foo, zab)

The result will be:

import com.example.Sample
import com.example.foo
import com.example.zab // test val x = Sample(foo, zab)

As you can see, the expression became a comment.

@hick209 hick209 added the bug Something isn't working label Jul 10, 2020
@cgrushko
Copy link
Contributor

Oh wow :(

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

2 participants