Open t-rasmud opened 4 years ago
@smillst Is this related to the issue about receiver type arguments that you are working on?
Same as #3124
Currently annotations on receiver type arguments are ignored; writing one is that same as not writing one. I'm working on fixing this.
In the test case below,
calling
method(arg)
should have the same behavior as callingarg.test()
. The static methodmethod
has one parameter with type argument whose lower bound is@NonDet
. The signature of the methodtest
declares the lower bound of its receiver type argument to be@NonDet
. However, running the determinism checker on this example gives the following output:javac -processor determinism checker/tests/determinism/ReceiverLowerBoundIssue.java
i.e, the expected error on the method invocation
arg.test();
is not reported by the checker.