serenity-bdd / serenity-cucumber-starter

A skeleton project for Serenity BDD and Cucumber JVM
Apache License 2.0
180 stars 285 forks source link

IntelliJ Weird Intellisense Bug With `net.serenitybdd.screenplay.ensure.Ensure` #68

Closed cjekal closed 2 years ago

cjekal commented 2 years ago

When trying to load this sample project in IntelliJ 2020.2, the syntax error highlighter shows that this import statement is incorrect:

import net.serenitybdd.screenplay.ensure.Ensure;

I'm not sure if it's b/c serenity-ensure is written in Kotlin or some other issue, but any pointers would be super helpful.

wakaleo commented 2 years ago

This is an IntelliJ bug - I believe it is fixed in more recent versions of IntelliJ.

cjekal commented 2 years ago

Thanks for the clarification! Does it have anything to do with serenity-ensure being written in Kotlin?

On Feb 12, 2022, at 12:10 AM, John Ferguson Smart @.***> wrote:

 This is an IntelliJ bug - I believe it is fixed in more recent versions of IntelliJ.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

wakaleo commented 2 years ago

Yes, it seems to be a bug in the Intellij autocomplete with Kotlin code.