Skip to content

Consolidate / clean up flags relating to inference #2784

@stephan-herrmann

Description

@stephan-herrmann

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

Metadata

Metadata

Labels

compilerEclipse Java Compiler (ecj) related issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions