Skip to content

Commit

Permalink
Interactive: fix contextOfPath for Template
Browse files Browse the repository at this point in the history
  • Loading branch information
dos65 committed Jun 10, 2021
1 parent fe2fcc4 commit abb0eab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ object Interactive {
}
localCtx
case tree @ Template(constr, parents, self, _) =>
if ((constr :: self :: parents).contains(nested)) ctx
if ((constr :: self :: parents).contains(nested)) outer
else contextOfStat(tree.body, nested, tree.symbol, outer.inClassContext(self.symbol))
case _ =>
outer
Expand Down

0 comments on commit abb0eab

Please sign in to comment.