Update 2020-06-04: replaced with this comment on #6252.
This gist investigates the examples presented here. In particular, how can they be converted to Constrained Generics (CG)? What can we learn from them about POI?
canResolve
and similar Reflection functions are more likely to be affected by #6252. However, that is an artifact of how they are implemented. A different implementation - ex. similar to compilerError() - can remove reliance of canResolve
on POI. Which would have no user-observable impact, except for restored correctness in corner cases.