The Scala trunk prints more information, so if you can compile it using a trunk to get a better error message, this will help. Of course, it is possible that this error is not in the trunk, but it is worth it.
If compiling with the body does not help, here is what I know. This is due to getters and setters. From the code, it can be either a setter or a receiver. This seems to be what is called when a getter or setter is used, not a specific one. You can find them.
In addition, pay attention to the rules for obtaining and installing. A getter must have at least the same visibility as the setter (i.e.Public if the setter is open, etc.). And since we are talking about a compiler error here, I would avoid strange appearances (i.e. Nothing but public or private), inheritance, or mixed visibility (e.g. setter private and getter public).
EDIT: I just noticed that mixin is mentioned in the stack trace. Thus, it is associated with a getter or setter, which is defined in the trait and used in the class or used by trait.
EDIT 2: Continuing the investigation. Do you have overloaded getters / setters for lazy shafts, or getters / setters overloaded with lazy shafts? Or, just lazy shafts to hell? I saw something in the third line of the track, which seems to indicate a lazy val.
If you find more information, try reproducing a small case to post a question.
Daniel C. Sobral
source share