I suspect it would need to use type resolution to work correctly. This feature is new to me, most of my checks are not using it. But that makes it more interesting:)
e
ephemient
11/03/2021, 4:33 PM
that conversion can be ambiguous in case of overloaded functions, so it probably is only sound with type resolution. seems interesting though
c
chao
11/03/2021, 4:44 PM
The longer term solution for type resolution is going to be either detekt-compiler-plugin or the incoming frontend-IR based solution in the new K2 compiler