I've added `-Xwarning-level=REDUNDANT_VISIBILITY_M...
# intellij
h
I've added
-Xwarning-level=REDUNDANT_VISIBILITY_MODIFIER:disabled
to my compiler arguments in a Maven project, and IntelliJ (2025.3 EAP) correctly imports the flag into its module settings. However, now I can't compile anything anymore in IntelliJ. Every attempt errors out with
Kotlin: -Xwarning-level is duplicated for warning REDUNDANT_VISIBILITY_MODIFIER
It seems the Kotlin plugin adds this flag by itself somehow? So when I add it, it's duplicated? Is there a way to turn this off or is it hard coded?
I created KTIJ-36409