Skip to content

Commit

Permalink
fix Register.ri
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Jan 30, 2024
1 parent c9ed8cb commit 4b728ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rivet/src/resolver/Register.ri
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pub struct Register {
for decl in decls {
old_abi := self.abi;
old_sym := self.sym;
self.sym.scope.owner = self.sym;
self.walk_decl(decl);
self.sym.scope = ^mut ast.Scope(owner: self.sym);
self.abi = old_abi;
self.sym = old_sym;
}
Expand Down

0 comments on commit 4b728ba

Please sign in to comment.