Skip to content

Add warning suppression.#157

Merged
mernst merged 2 commits intoplume-lib:masterfrom
smillst:capture-conversion
Jul 13, 2021
Merged

Add warning suppression.#157
mernst merged 2 commits intoplume-lib:masterfrom
smillst:capture-conversion

Conversation

@smillst
Copy link
Copy Markdown
Contributor

@smillst smillst commented Jun 8, 2021

I made this change because of the following error when using smillst/capture-conversion branch:

OrderedPairIterator.java:65: error: [initializedfields:contracts.postcondition] postcondition of is not satisfied.
public OrderedPairIterator(Iterator itor1, Iterator itor2) {
^
found : this is @InitializedFields({"itor1", "itor2"})
required: this is @InitializedFields({"itor1", "itor2", "comparator"})

Merge with typetools/checker-framework#3922 ("implement capture conversion").

@mernst mernst merged commit b828d78 into plume-lib:master Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants