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

[BUG] "Packages cannot be imported" when importing object members #764

Open
BenWoodworth opened this issue Oct 3, 2020 · 4 comments
Open
Assignees
Labels
bug Something isn't working high-priority IDEA

Comments

@BenWoodworth
Copy link

BenWoodworth commented Oct 3, 2020

Describe the bug
Arrow Meta causes imports for object members to give the error "Packages cannot be imported".
The code compiles and runs fine without Arrow Meta.

To Reproduce
Enable Arrow Meta IDE plugin, and add this code to a Kotlin scratch file:

import kotlin.properties.Delegates
import kotlin.properties.Delegates.observable

val x by Delegates.observable(4) { property, old, new ->
}

val y by observable(4) { property, old, new ->
}

Expected behavior
No errors

Screenshots
image

Environment (please complete the following information):

  • Kotlin version: 1.4.10
  • Kotlin Intellij IDEA plugin version: 1.4.10-release-IJ2020.2-1
  • Intellij IDEA version: 2020.2.2
  • Arrow Meta IDEA plugin version: 1.4.10-SNAPSHOT-1601454605
@BenWoodworth BenWoodworth added the bug Something isn't working label Oct 3, 2020
@raulraja
Copy link
Member

raulraja commented Oct 3, 2020

Thanks @BenWoodworth !

@MairwunNx
Copy link

+1. I've the same problem. Fixed by temporary disabling extension Arrow Meta.

@i-walker
Copy link
Member

i-walker commented Oct 5, 2020

Thanks @BenWoodworth !
I was able to reproduce it with the Quotes Ide Plugin.

@krzykrucz
Copy link

I have the same problem when importing org.assertj.core.api.Assertions.assertThat, which by the way is used in the arrow-meta-examples project.

What's more, and I don't know if that's related or should I raise a separate issue, but with the plugin enabled Auto-Imports don't work for me in any project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority IDEA
Projects
None yet
Development

No branches or pull requests

6 participants