equal
deleted
inserted
replaced
2782 return resolutionContext.candidates.stream() |
2782 return resolutionContext.candidates.stream() |
2783 .filter(c -> c.isApplicable() && c.step == resolutionContext.step) |
2783 .filter(c -> c.isApplicable() && c.step == resolutionContext.step) |
2784 .map(c -> StaticKind.from(c.sym)) |
2784 .map(c -> StaticKind.from(c.sym)) |
2785 .reduce(StaticKind::reduce) |
2785 .reduce(StaticKind::reduce) |
2786 .orElse(StaticKind.UNDEFINED); |
2786 .orElse(StaticKind.UNDEFINED); |
2787 case HIDDEN: |
|
2788 return StaticKind.from(((AccessError)sym).sym); |
|
2789 default: |
2787 default: |
2790 return StaticKind.UNDEFINED; |
2788 return StaticKind.UNDEFINED; |
2791 } |
2789 } |
2792 } |
2790 } |
2793 |
2791 |