zig/test/behavior
mlugg 28caaea093
AstGen: allow closure over known-runtime values within @TypeOf
AstGen emits an error when a closure over a known-runtime value crosses
a namespace boundary. This usually makes sense: however, this usage is
actually valid if the capture is within a `@TypeOf` operand. Sema
already has a special case to allow such closure within `@TypeOf` when
AstGen could not determine a value to be runtime-known. This commit
simply introduces analagous logic to AstGen to allow `var`s to cross
namespace boundaries within `@TypeOf`.
2023-09-17 12:41:11 +01:00
..
2023-06-25 14:51:03 -07:00
2023-07-31 03:49:21 -04:00
2023-05-20 17:30:22 +02:00
2023-07-26 19:02:02 -07:00
2023-05-31 18:04:33 +02:00
2023-05-20 17:30:22 +02:00
2023-07-31 01:58:10 -04:00
2023-07-26 22:19:30 -07:00
2023-06-27 19:57:23 -04:00
2022-01-07 00:06:06 -05:00
2023-08-09 05:46:44 -04:00
2023-05-20 18:43:26 +03:30
2023-05-20 17:30:22 +02:00
2023-05-11 20:31:52 +02:00
2023-05-20 17:30:22 +02:00
2023-08-30 16:50:30 -04:00
2023-07-31 03:49:21 -04:00
2023-05-11 20:31:52 +02:00