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 {
44384438 switch (rti ) {
44394439 .error_union = > {
44404440 if (rti .error_union .payload == void ) {
4441- try @call (.auto , fl , toLuaArgs );
4441+ return try @call (.auto , fl , toLuaArgs );
44424442 } else {
44434443 @compileError ("toLua invalid return type, required fn signature: " ++ fnSignature );
44444444 }
44454445 },
44464446 .void = > {
4447- @call (.auto , fl , toLuaArgs );
4447+ return @call (.auto , fl , toLuaArgs );
44484448 },
44494449 else = > {
44504450 @compileError ("toLua invalid return type, required fn signature: " ++ fnSignature );
44514451 },
44524452 }
44534453 } else {
4454- @call (.auto , fl , toLuaArgs );
4454+ return @call (.auto , fl , toLuaArgs );
44554455 }
44564456 } else {
44574457 @compileError ("toLua has invalid args, required fn signature: " ++ fnSignature );
You can’t perform that action at this time.
0 commit comments