Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix enclosing method attribute for classes nested in trait fields
Trait fields are now created as MethodSymbol (no longer TermSymbol). This symbol shows up in the `originalOwner` chain of a class declared within the field initializer. This promoted the field getter to being the enclosing method of the nested class, which it is not (the EnclosingMethod attribute is a source-level property).
- Loading branch information