You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ktlint does not complain about importing an infix function named ** as being a wildcard import. This infix function acts as a "pseudo-operator" for exponentiation
Observed Behavior
For the import:
import hm.binkley.math.`**`
Ktlint mistakenly complains this is a wildcard import
I am grateful for the comment syntax that Ktlint recognizes, so I could ask it to ignore the import in question
Your Environment
Version of ktlint used: 1.5.2 (latest as per Maven Central) Please note: the commit link above was using Ktlint 1.4.2 in the pom.xml. A following commit is using version 1.5.2, and has the same issue. I linked to the earlier commit as it was more clear in the code that Ktlint complained about
Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): Maven plugin
Expected Behavior
Ktlint does not complain about importing an infix function named
**
as being a wildcard import. This infix function acts as a "pseudo-operator" for exponentiationObserved Behavior
For the import:
Ktlint mistakenly complains this is a wildcard import
Steps to Reproduce
See this commit: binkley/kotlin-rational@2c610d6
I am grateful for the comment syntax that Ktlint recognizes, so I could ask it to ignore the import in question
Your Environment
pom.xml
. A following commit is using version1.5.2
, and has the same issue. I linked to the earlier commit as it was more clear in the code that Ktlint complained aboutThe text was updated successfully, but these errors were encountered: