Closed mario-bucev closed 9 months ago
What do you know, we have ghost classes? Presumably those are classes all of whose instances must be ghost?
Yes it seems so. The nightly failed due to sbt scripted
failing for this test (I forgot to test sbt scripted
locally...).
I've pushed an invalid example to "document" this as well.
PR #1472 changed the way propagation of annotation works, but I did not propagate
@ghost
annotation from@ghost
class to methods. This PR fixes that. Note that@ghost
does not propagate to fields (see here where we explicitly ignore owners).