0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/cases/compile_errors/async
r00ster91 ee4ced9683 write function types consistently with a space before fn keyword
Currently, the compiler (like @typeName) writes it `fn(...) Type` but
zig fmt writes it `fn (...) Type` (notice the space after `fn`).
This inconsistency is now resolved and function types are consistently
written the zig fmt way. Before this there were more `fn (...) Type`
occurrences than `fn(...) Type` already.
History 2023-09-19 15:15:05 +03:00
..
async_function_depends_on_its_own_frame.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
async_function_indirectly_depends_on_its_own_frame.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
bad_alignment_in_asynccall.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
const_frame_cast_to_anyframe.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
exported_async_function.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
frame_called_outside_of_function_definition.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
frame_causes_function_to_be_async.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
Frame_of_generic_function.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
function_with_ccc_indirectly_calling_async_function.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
indirect_recursion_of_async_functions_detected.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
invalid_suspend_in_exported_function.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
non-async_function_pointer_eventually_is_inferred_to_become_async.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
non_async_function_pointer_passed_to_asyncCall.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
prevent_bad_implicit_casting_of_anyframe_types.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
returning_error_from_void_async_function.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
runtime-known_async_function_called.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
runtime-known_function_called_with_async_keyword.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_frame_type_used_for_async_call.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
wrong_type_for_argument_tuple_to_asyncCall.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00
wrong_type_for_result_ptr_to_asyncCall.zig move async compile errors into their own folder 2022-12-14 14:05:57 +02:00