diktat icon indicating copy to clipboard operation
diktat copied to clipboard

Illegal reflective operation warning from kotlin-compiler-embeddable

Open petertrr opened this issue 4 years ago • 2 comments
trafficstars

I think under this issue we can also investigate problem with extra warnings from kotlin Seems, it should be fixed (youtrack, stackoverflow) in kotlin 1.5

Originally posted by @kgevorkyan in https://github.com/cqfn/diKTat/issues/971#issuecomment-877263916

petertrr avatar Jul 14 '21 13:07 petertrr

All compilation warnings should be fixed under this issue

orchestr7 avatar Apr 27 '22 16:04 orchestr7

@akuleshov7 we don't have any compilation warnings, because we've enabled -Werror long ago under #781

This issue is about runtime warning which appears to be caused by incorrect usage of reflection deep inside kotlin-compiler. It needs some investigation, but it'll probably have to be resolved on their side.

petertrr avatar Apr 28 '22 08:04 petertrr

Tested, it was fixed. Added a checking on WARNING in diktat cli output in tests

nulls avatar Nov 08 '23 11:11 nulls