update usages of @call

This commit is contained in:
Veikka Tuominen
2022-12-12 15:32:37 +02:00
parent 7b2a936173
commit 08b2d491bc
21 changed files with 103 additions and 109 deletions

View File

@@ -966,8 +966,8 @@ test "generic function uses return type of other generic function" {
fn call(
f: anytype,
args: anytype,
) @TypeOf(@call(.{}, f, @as(@TypeOf(args), undefined))) {
return @call(.{}, f, args);
) @TypeOf(@call(.auto, f, @as(@TypeOf(args), undefined))) {
return @call(.auto, f, args);
}
fn func(arg: anytype) @TypeOf(arg) {