diff options
| author | Eric Joldasov <bratishkaerik@getgoogleoff.me> | 2023-06-05 14:29:28 +0600 |
|---|---|---|
| committer | Eric Joldasov <bratishkaerik@getgoogleoff.me> | 2023-06-13 23:46:58 +0600 |
| commit | d884d7050e061c620324aaaabfba507e08cb40f4 (patch) | |
| tree | fa0b5994341509ef81d7244788ea3e37b13f6d27 /test/behavior/if.zig | |
| parent | 6078781ae52fc2c85559f622f58c303b73d8a6a5 (diff) | |
| download | zig-d884d7050e061c620324aaaabfba507e08cb40f4.tar.gz zig-d884d7050e061c620324aaaabfba507e08cb40f4.zip | |
all: replace `comptime try` with `try comptime`
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'test/behavior/if.zig')
| -rw-r--r-- | test/behavior/if.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behavior/if.zig b/test/behavior/if.zig index c17f2c9891..49018cdfe2 100644 --- a/test/behavior/if.zig +++ b/test/behavior/if.zig @@ -93,7 +93,7 @@ test "if copies its payload" { } }; try S.doTheTest(); - comptime try S.doTheTest(); + try comptime S.doTheTest(); } test "if prongs cast to expected type instead of peer type resolution" { @@ -109,7 +109,7 @@ test "if prongs cast to expected type instead of peer type resolution" { } }; try S.doTheTest(false); - comptime try S.doTheTest(false); + try comptime S.doTheTest(false); } test "if peer expressions inferred optional type" { |
