Commit 40111e8
committed
Use result of lambda type of implicit in CheckUnused (#23497)
Fixes #23494
When inspecting unused implicit parameters, the check skips parameters
which are "marker traits". It tests for any members of the type (or its
upper bound) which are not "universal members". This commit uses the
`resultType` to avoid an error
```
invalid new prefix
```
while computing members where the type is a `LambdaType`.
A future improvement would be not to request `allMembers`, since the
check only needs to find one that is not universal.
The necessitating change was
2e4bc0a.
[Cherry-picked a5e15ab][modified]1 parent 61be637 commit 40111e8
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments