File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4438,20 +4438,20 @@ pub const Lua = opaque {
4438
4438
switch (rti ) {
4439
4439
.error_union = > {
4440
4440
if (rti .error_union .payload == void ) {
4441
- try @call (.auto , fl , toLuaArgs );
4441
+ return try @call (.auto , fl , toLuaArgs );
4442
4442
} else {
4443
4443
@compileError ("toLua invalid return type, required fn signature: " ++ fnSignature );
4444
4444
}
4445
4445
},
4446
4446
.void = > {
4447
- @call (.auto , fl , toLuaArgs );
4447
+ return @call (.auto , fl , toLuaArgs );
4448
4448
},
4449
4449
else = > {
4450
4450
@compileError ("toLua invalid return type, required fn signature: " ++ fnSignature );
4451
4451
},
4452
4452
}
4453
4453
} else {
4454
- @call (.auto , fl , toLuaArgs );
4454
+ return @call (.auto , fl , toLuaArgs );
4455
4455
}
4456
4456
} else {
4457
4457
@compileError ("toLua has invalid args, required fn signature: " ++ fnSignature );
You can’t perform that action at this time.
0 commit comments