Files
zig/lib/std
mlugg 0cc8435a83 std.zig: resolve syntactic ambiguity
The parse of `fn foo(a: switch (...) { ... })` was previously handled
incorrectly; `a` was treated as both the parameter name and a label.

The same issue exists for `for` and `while` expressions -- they should
be fixed too, and the grammar amended appropriately. This commit does
not do this: it only aims to avoid introducing regressions from labeled
switch syntax.
2024-09-01 18:30:31 +01:00
..
2024-08-29 23:43:52 +01:00
2024-08-29 20:39:11 +01:00
2024-08-07 00:48:32 -07:00
2024-07-23 11:43:12 -07:00
2024-08-15 22:05:53 -07:00
2024-09-01 18:30:31 +01:00
2024-08-22 08:44:08 +02:00
2024-08-29 20:39:11 +01:00
2024-07-19 00:30:32 -07:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2024-08-29 20:39:11 +01:00
2024-07-19 00:30:32 -07:00
2024-07-19 00:30:32 -07:00
2024-08-29 23:43:52 +01:00
2024-08-15 22:05:53 -07:00
2024-07-19 00:30:32 -07:00
2024-08-23 22:59:30 -07:00