Closed CharlesZ-Chen closed 8 years ago
Originally VariableAnnotator#createEquivalentSlotConstraints will not create constant slot for a polymorphic qualifier.
VariableAnnotator#createEquivalentSlotConstraints
However, this would cause PolyReplacer never replace a polymorphic qualifier by VarAnnot, in which would cause polymorphic qualifier doesn't work.
PolyReplacer
https://github.com/opprop/checker-framework-inference/blob/master/src/checkers/inference/InferenceQualifierPolymorphism.java#L76
sorry, wrong place to make PR.
Originally
VariableAnnotator#createEquivalentSlotConstraints
will not create constant slot for a polymorphic qualifier.However, this would cause
PolyReplacer
never replace a polymorphic qualifier by VarAnnot, in which would cause polymorphic qualifier doesn't work.https://github.com/opprop/checker-framework-inference/blob/master/src/checkers/inference/InferenceQualifierPolymorphism.java#L76