https://kotlinlang.org logo
Title
c

cristiangm

12/18/2018, 5:12 PM
Kotlin compiler prints warnings but, it would be wonderful if we could have them on a XML report
m

Mike

12/18/2018, 5:20 PM
I'm curious what you'd use the report for?
c

cristiangm

12/18/2018, 5:29 PM
we have our internal tools, like a Sonarqube
We would make an inline comment on PRs for each new issue
is what we do with all static analysis reports
m

Mike

12/18/2018, 6:50 PM
Do you use detekt or ktlint or new kotlin support in Sonarqube? I'd expect one of those to catch the issue too and you'd be able to view it that way instead.
c

cristiangm

12/18/2018, 6:55 PM
sure we use detekt and we should use ktlint too
m

Mike

12/18/2018, 9:08 PM
I suspect there's overlap between the two. So you're seeing warnings from compiler that detekt doesn't show? Hmm. Wonder if that's intentional. Warnings I've seen this far from compiler are easy to fix. Any reason you don't just mandate they be fixed now?