Skip to content

Commit

Permalink
reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
achidlow committed Feb 6, 2025
1 parent 7cb3884 commit 6fd754d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/puya/teal/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
from puya.avm import AVMType
from puya.errors import InternalError
from puya.ir.types_ import AVMBytesEncoding
from puya.mir import (
models,
models as mir,
)
from puya.mir import models as mir
from puya.mir.stack import Stack
from puya.mir.visitor import MIRVisitor
from puya.teal import models as teal
Expand Down Expand Up @@ -495,7 +492,7 @@ def check(cls, sub: mir.MemorySubroutine) -> bool:
return True
return False

def visit_retsub(self, retsub: models.RetSub) -> None:
def visit_retsub(self, retsub: mir.RetSub) -> None:
# if the stack height does not match the number of return values then
# the proto op is required for the sub
if self.fxl_height != retsub.returns:
Expand Down

0 comments on commit 6fd754d

Please sign in to comment.