eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Consolidate / clean up flags relating to inference
Open
compiler
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 49
Description
From observations in #2776:
* Flag `ParameterizedGenericMethodBinding.inferredReturnType` is obsolete since 1.7 mode got disabled
* the same for significant portions of code in the `computeCompatibleMethod` family of methods
* Flag `ParameterizedGenericMethodBinding.wasInferred` is used also in 1.8+ but it seems we might get a conflict with caching of these bindings.
* whether or not the flag is set to true depends on the call path, but not all call paths may be aware of this distinction
Contributor guide
Assessment
This issue has not been assessed yet.