aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/call_optional_function.zig
AgeCommit message (Collapse)Author
2023-09-19write function types consistently with a space before `fn` keywordr00ster91
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.
2023-05-22Sema: improve error message when calling optional functionVeikka Tuominen
Co-authored-by: wrongnull <wrongnull@gmail.com>