Skip to content

Commit 3077342

Browse files
niaowkenbell
authored andcommitted
transform (interface): fix merge error from tinygo-org#2202
1 parent 9e1b4de commit 3077342

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

transform/interface-lowering.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ func (p *lowerInterfacesPass) defineInterfaceMethodFunc(fn llvm.Value, itf *inte
383383
parentHandle := fn.LastParam()
384384
context := llvm.PrevParam(parentHandle)
385385
actualType := llvm.PrevParam(context)
386+
returnType := fn.Type().ElementType().ReturnType()
386387
context.SetName("context")
387388
actualType.SetName("actualType")
388389
parentHandle.SetName("parentHandle")

0 commit comments

Comments
 (0)