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

experimental:annotation Internal Error #719

Closed
DenWav opened this issue Mar 21, 2020 · 5 comments
Closed

experimental:annotation Internal Error #719

DenWav opened this issue Mar 21, 2020 · 5 comments
Labels

Comments

@DenWav
Copy link

DenWav commented Mar 21, 2020

This is the error message I got after enabling the experimental rules for my project:

/home/demonwav/IdeaProjects/MinecraftDev/src/main/kotlin/com/demonwav/mcdev/platform/forge/ForgeFileIconProvider.kt:0:0: Internal Error (experimental:annotation). Please create a ticket at https://github.com/pinterest/ktlint/issue (if possible, provide the source code that triggered an error) (cannot be auto-corrected)

This is the file.


Another quick note is you're missing the s off the end of the issues URL in that message, which leads to a 404.

@shashachu shashachu added the bug label May 19, 2020
@Tapchicoma
Copy link
Collaborator

Could you tell which Ktlint version have you used?

@DenWav
Copy link
Author

DenWav commented May 26, 2020

Version 9.1.1 of the org.jlleitschuh.gradle.ktlint Gradle plugin.

@Tapchicoma
Copy link
Collaborator

I've tried to enable experimental rules on your repository revision 400a3185619405bf53fb106cc42ce8ab7dad34e6 and I don't see such error. Only normal style violations.

@shashachu
Copy link
Contributor

@DemonWav you may be on an older version of ktlint; the link to creating a github issue was fixing in 0.36.0 #651

@DenWav
Copy link
Author

DenWav commented May 30, 2020

Yeah this seems fixed now.

@DenWav DenWav closed this as completed May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants