zig/test/behavior
Andrew Kelley 4763fd1a41 Sema: clean up peer resolution of errors
* Fix compile error for `zirErrorUnionType`.
 * Convert zirMergeErrorSets logic to call `Type.errorSetMerge`.
   It does not need to create a Decl as the TODO comment hinted.
 * Extract out a function called `resolveInferredErrorSetTy`.
 * Rework `resolvePeerTypes` with respect to error unions and
   error sets. This is a less complex implementation that passes all the
   same tests and uses many fewer lines of code by taking advantage of
   the function `coerceInMemoryAllowedErrorSets`.
   - Always merge error sets in the order that makes sense, even when
     that means `@typeInfo` incompatibility with stage1.
 * `Type.errorSetMerge` no longer overallocates.
 * Don't skip passing tests.
2022-02-28 23:15:58 -07:00
..
2021-10-28 17:33:05 -07:00
2022-02-22 21:57:42 +01:00
2022-02-27 18:59:44 -05:00
2022-01-10 21:01:00 +01:00
2022-02-13 14:42:20 +02:00
2022-02-27 21:38:56 +01:00
2022-02-27 21:38:56 +01:00
2022-01-07 00:06:06 -05:00
2022-02-19 14:24:03 +01:00
2022-02-22 21:57:42 +01:00
2022-02-22 21:57:42 +01:00
2022-01-26 00:36:12 -07:00
2022-01-28 11:45:04 -07:00
2022-02-22 21:57:42 +01:00
2021-07-26 20:05:48 -04:00
2022-02-23 10:40:46 +02:00
2022-01-17 20:45:55 -07:00
2022-02-27 21:38:56 +01:00
2022-02-28 13:09:14 -07:00
2022-02-22 21:57:42 +01:00
2022-01-28 11:45:04 -07:00