Skip to content

Commit

Permalink
Merge pull request #10466 from lrytz/changeSig
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Jul 14, 2023
2 parents dd33bd3 + d976c25 commit a11bacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect/scala/reflect/internal/Trees.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ trait Trees extends api.Trees {
protected val changedSymbols = mutable.Set.empty[Symbol]
protected val treeTypes = mutable.Set.empty[Type]

def change(sym: Symbol) = {
def change(sym: Symbol): Unit = {
if (sym != NoSymbol && sym.owner == oldowner) {
sym.owner = newowner
changedSymbols += sym
Expand Down

0 comments on commit a11bacd

Please sign in to comment.