diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-12-12 15:32:37 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-12-13 13:14:20 +0200 |
| commit | 08b2d491bcd8c79c68495267cc71967661caea1e (patch) | |
| tree | f6c8436094170f3dd197ffec479aec575c875d19 /test/behavior/basic.zig | |
| parent | 7b2a936173165002105ba5e76bed69654e132fea (diff) | |
| download | zig-08b2d491bcd8c79c68495267cc71967661caea1e.tar.gz zig-08b2d491bcd8c79c68495267cc71967661caea1e.zip | |
update usages of `@call`
Diffstat (limited to 'test/behavior/basic.zig')
| -rw-r--r-- | test/behavior/basic.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index e5e28cddb3..43574db06f 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -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) { |
