eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Consolidate / clean up flags relating to inference

Open
#2,784 5 comments 0 reactions 1 assignee Claimed by @stephan-herrmann View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.