Files
zig/src
Andrew Kelley 2af69710a7 stage2: fix some generics issues
* std.meta: correct use of `default_value` in reification. stage1
   accepted a wrong type for `null`.
 * Sema: after instantiating a generic function, if the return type ends
   up being a comptime-known type, then we return an error, undoing the
   generic function instantiation, and making a comptime function call
   instead.
   - We also needed to clean up the dependency graph in this case.
 * Sema: reified enums set tag_ty_inferred to false since an integer tag
   type is provided. This is a limitation of the `@Type` builtin which
   will be addressed with #10710.
 * Sema: fix resolveInferredErrorSet incorrectly calling
   ensureFuncBodyAnalyzed on generic functions.
2022-03-23 23:28:05 -07:00
..
2022-03-23 21:40:32 +01:00
2022-03-22 23:37:20 -04:00
2022-03-19 19:13:31 +02:00
2022-01-14 12:39:06 -07:00
2022-01-30 14:30:46 +01:00
2022-03-22 15:45:58 -07:00
2022-03-23 23:28:05 -07:00
2022-01-02 13:16:17 -07:00
2022-03-22 15:45:58 -07:00
2022-03-22 15:45:58 -07:00
2022-03-23 23:28:05 -07:00
2022-03-17 19:03:37 -07:00
2022-01-07 00:06:06 -05:00
2022-03-22 15:45:58 -07:00
2021-09-24 13:39:20 -04:00