You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing the types of method references, the the pre- and post-conditions should be considered.
In contexts such as pseudo-assignments, the pre- and post-conditions should be checked like they are when checking method overriding. Although some may not be useful because post conditions generally refer to fields (but there will be no shared fields). See test case in checker/tests/nullness/java8/methodref/Postconditions.java.
The text was updated successfully, but these errors were encountered:
mernst
changed the title
Member reference: check pre and post conditions
Member reference: pre and post conditions should be part of function type
Jun 22, 2016
When comparing the types of method references, the the pre- and post-conditions should be considered.
In contexts such as pseudo-assignments, the pre- and post-conditions should be checked like they are when checking method overriding. Although some may not be useful because post conditions generally refer to fields (but there will be no shared fields). See test case in checker/tests/nullness/java8/methodref/Postconditions.java.
The text was updated successfully, but these errors were encountered: