From 08b2d491bcd8c79c68495267cc71967661caea1e Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Mon, 12 Dec 2022 15:32:37 +0200 Subject: update usages of `@call` --- test/behavior/basic.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/behavior/basic.zig') 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) { -- cgit v1.2.3