Open t-rasmud opened 4 years ago
We don't support polymorphic qualifiers on class declarations, including in type parameter bounds. Is this issue about adding that support?
I see, Thanks! Currently, the checker doesn't report any warning if polymorphic annotations are written on declarations or type parameters of classes with implicit qualifier parameters. However, I think it will be useful to add support for this feature.
Consider the following test case:
Since
PolyClass
has an implicit qualifier parameter,@PolyDet("use")
on theextends
clause ofT
must resolve to@NonDet
and the above code must type check. But the determinism checker flags the following error: