@@ -1848,129 +1848,133 @@
18481848/* tok-522 %txt /tests/golden/types-union-finite/tokens/txt
18491849/* tre-522 %txt /tests/golden/types-union-finite/tree/txt
18501850/* typ-522 %txt /tests/golden/types-union-finite/types/txt
1851−/* src-523 %jibb /tests/golden/types-union-finite-generic/source/jibb
1852−/* tok-523 %txt /tests/golden/types-union-finite-generic/tokens/txt
1853−/* tre-523 %txt /tests/golden/types-union-finite-generic/tree/txt
1854−/* typ-523 %txt /tests/golden/types-union-finite-generic/types/txt
1855−/* src-524 %jibb /tests/golden/types-union-finite-limit/source/jibb
1856−/* tok-524 %txt /tests/golden/types-union-finite-limit/tokens/txt
1857−/* tre-524 %txt /tests/golden/types-union-finite-limit/tree/txt
1858−/* typ-524 %txt /tests/golden/types-union-finite-limit/types/txt
1859−/* src-525 %jibb /tests/golden/types-union-import/source/jibb
1860−/* tok-525 %txt /tests/golden/types-union-import/tokens/txt
1861−/* tre-525 %txt /tests/golden/types-union-import/tree/txt
1862−/* mod-525-1 %jibb /tests/golden/types-union-import/modules/ui/lib/jibb
1863−/* typ-525 %txt /tests/golden/types-union-import/types/txt
1864−/* mtre-525 %txt /tests/golden/types-union-import/module-trees/txt
1865−/* src-526 %jibb /tests/golden/types-union-local-pending/source/jibb
1866−/* tok-526 %txt /tests/golden/types-union-local-pending/tokens/txt
1867−/* tre-526 %txt /tests/golden/types-union-local-pending/tree/txt
1868−/* typ-526 %txt /tests/golden/types-union-local-pending/types/txt
1869−/* src-527 %jibb /tests/golden/types-union-overlap/source/jibb
1870−/* tok-527 %txt /tests/golden/types-union-overlap/tokens/txt
1871−/* tre-527 %txt /tests/golden/types-union-overlap/tree/txt
1872−/* typ-527 %txt /tests/golden/types-union-overlap/types/txt
1873−/* src-528 %jibb /tests/golden/types-union-overlap-nested/source/jibb
1874−/* tok-528 %txt /tests/golden/types-union-overlap-nested/tokens/txt
1875−/* tre-528 %txt /tests/golden/types-union-overlap-nested/tree/txt
1876−/* typ-528 %txt /tests/golden/types-union-overlap-nested/types/txt
1877−/* src-529 %jibb /tests/golden/types-union-pattern-result-context/source/jibb
1878−/* tok-529 %txt /tests/golden/types-union-pattern-result-context/tokens/txt
1879−/* tre-529 %txt /tests/golden/types-union-pattern-result-context/tree/txt
1880−/* typ-529 %txt /tests/golden/types-union-pattern-result-context/types/txt
1881−/* src-530 %jibb /tests/golden/types-union-pattern-result-controls/source/jibb
1882−/* tok-530 %txt /tests/golden/types-union-pattern-result-controls/tokens/txt
1883−/* tre-530 %txt /tests/golden/types-union-pattern-result-controls/tree/txt
1884−/* typ-530 %txt /tests/golden/types-union-pattern-result-controls/types/txt
1885−/* src-531 %jibb /tests/golden/types-union-patterns/source/jibb
1886−/* tok-531 %txt /tests/golden/types-union-patterns/tokens/txt
1887−/* tre-531 %txt /tests/golden/types-union-patterns/tree/txt
1888−/* typ-531 %txt /tests/golden/types-union-patterns/types/txt
1889−/* src-532 %jibb /tests/golden/types-union-patterns-generic/source/jibb
1890−/* tok-532 %txt /tests/golden/types-union-patterns-generic/tokens/txt
1891−/* tre-532 %txt /tests/golden/types-union-patterns-generic/tree/txt
1892−/* typ-532 %txt /tests/golden/types-union-patterns-generic/types/txt
1893−/* src-533 %jibb /tests/golden/types-union-patterns-import/source/jibb
1894−/* tok-533 %txt /tests/golden/types-union-patterns-import/tokens/txt
1895−/* tre-533 %txt /tests/golden/types-union-patterns-import/tree/txt
1896−/* mod-533-1 %jibb /tests/golden/types-union-patterns-import/modules/ui/lib/jibb
1897−/* typ-533 %txt /tests/golden/types-union-patterns-import/types/txt
1898−/* mtre-533 %txt /tests/golden/types-union-patterns-import/module-trees/txt
1899−/* src-534 %jibb /tests/golden/types-union-phantom-generic/source/jibb
1900−/* tok-534 %txt /tests/golden/types-union-phantom-generic/tokens/txt
1901−/* tre-534 %txt /tests/golden/types-union-phantom-generic/tree/txt
1902−/* typ-534 %txt /tests/golden/types-union-phantom-generic/types/txt
1903−/* src-535 %jibb /tests/golden/types-union-print-cross-namespace/source/jibb
1904−/* tok-535 %txt /tests/golden/types-union-print-cross-namespace/tokens/txt
1905−/* tre-535 %txt /tests/golden/types-union-print-cross-namespace/tree/txt
1906−/* mod-535-1 %jibb /tests/golden/types-union-print-cross-namespace/modules/ui/lib/jibb
1907−/* typ-535 %txt /tests/golden/types-union-print-cross-namespace/types/txt
1908−/* mtre-535 %txt /tests/golden/types-union-print-cross-namespace/module-trees/txt
1909−/* src-536 %jibb /tests/golden/types-union-print-distinct/source/jibb
1910−/* tok-536 %txt /tests/golden/types-union-print-distinct/tokens/txt
1911−/* tre-536 %txt /tests/golden/types-union-print-distinct/tree/txt
1912−/* mod-536-1 %jibb /tests/golden/types-union-print-distinct/modules/ui/left/jibb
1913−/* mod-536-2 %jibb /tests/golden/types-union-print-distinct/modules/ui/right/jibb
1914−/* mod-536-3 %jibb /tests/golden/types-union-print-distinct/modules/ui/twin/jibb
1915−/* typ-536 %txt /tests/golden/types-union-print-distinct/types/txt
1916−/* mtre-536 %txt /tests/golden/types-union-print-distinct/module-trees/txt
1917−/* src-537 %jibb /tests/golden/types-union-print-escape/source/jibb
1918−/* tok-537 %txt /tests/golden/types-union-print-escape/tokens/txt
1919−/* tre-537 %txt /tests/golden/types-union-print-escape/tree/txt
1920−/* typ-537 %txt /tests/golden/types-union-print-escape/types/txt
1921−/* src-538 %jibb /tests/golden/types-union-print-local/source/jibb
1922−/* tok-538 %txt /tests/golden/types-union-print-local/tokens/txt
1923−/* tre-538 %txt /tests/golden/types-union-print-local/tree/txt
1924−/* typ-538 %txt /tests/golden/types-union-print-local/types/txt
1925−/* src-539 %jibb /tests/golden/types-union-print-nested/source/jibb
1926−/* tok-539 %txt /tests/golden/types-union-print-nested/tokens/txt
1927−/* tre-539 %txt /tests/golden/types-union-print-nested/tree/txt
1928−/* typ-539 %txt /tests/golden/types-union-print-nested/types/txt
1929−/* src-540 %jibb /tests/golden/types-union-print-same-origin/source/jibb
1930−/* tok-540 %txt /tests/golden/types-union-print-same-origin/tokens/txt
1931−/* tre-540 %txt /tests/golden/types-union-print-same-origin/tree/txt
1932−/* mod-540-1 %jibb /tests/golden/types-union-print-same-origin/modules/ui/shared/jibb
1933−/* typ-540 %txt /tests/golden/types-union-print-same-origin/types/txt
1934−/* mtre-540 %txt /tests/golden/types-union-print-same-origin/module-trees/txt
1935−/* src-541 %jibb /tests/golden/types-union-print-transitive/source/jibb
1936−/* tok-541 %txt /tests/golden/types-union-print-transitive/tokens/txt
1937−/* tre-541 %txt /tests/golden/types-union-print-transitive/tree/txt
1938−/* mod-541-1 %jibb /tests/golden/types-union-print-transitive/modules/ui/mid/jibb
1939−/* mod-541-2 %jibb /tests/golden/types-union-print-transitive/modules/ui/base/jibb
1940−/* typ-541 %txt /tests/golden/types-union-print-transitive/types/txt
1941−/* mtre-541 %txt /tests/golden/types-union-print-transitive/module-trees/txt
1942−/* src-542 %jibb /tests/golden/types-union-singleton/source/jibb
1943−/* tok-542 %txt /tests/golden/types-union-singleton/tokens/txt
1944−/* tre-542 %txt /tests/golden/types-union-singleton/tree/txt
1945−/* typ-542 %txt /tests/golden/types-union-singleton/types/txt
1946−/* src-543 %jibb /tests/golden/types-union-tag-atoms/source/jibb
1947−/* tok-543 %txt /tests/golden/types-union-tag-atoms/tokens/txt
1948−/* tre-543 %txt /tests/golden/types-union-tag-atoms/tree/txt
1949−/* typ-543 %txt /tests/golden/types-union-tag-atoms/types/txt
1950−/* src-544 %jibb /tests/golden/types-union-tags/source/jibb
1951−/* tok-544 %txt /tests/golden/types-union-tags/tokens/txt
1952−/* tre-544 %txt /tests/golden/types-union-tags/tree/txt
1953−/* typ-544 %txt /tests/golden/types-union-tags/types/txt
1954−/* src-545 %jibb /tests/golden/types-union-unresolved/source/jibb
1955−/* tok-545 %txt /tests/golden/types-union-unresolved/tokens/txt
1956−/* tre-545 %txt /tests/golden/types-union-unresolved/tree/txt
1957−/* typ-545 %txt /tests/golden/types-union-unresolved/types/txt
1958−/* src-546 %jibb /tests/golden/types-union-unresolved-flow/source/jibb
1959−/* tok-546 %txt /tests/golden/types-union-unresolved-flow/tokens/txt
1960−/* tre-546 %txt /tests/golden/types-union-unresolved-flow/tree/txt
1961−/* typ-546 %txt /tests/golden/types-union-unresolved-flow/types/txt
1962−/* src-547 %jibb /tests/golden/types-unit-construction/source/jibb
1963−/* tok-547 %txt /tests/golden/types-unit-construction/tokens/txt
1964−/* tre-547 %txt /tests/golden/types-unit-construction/tree/txt
1965−/* typ-547 %txt /tests/golden/types-unit-construction/types/txt
1966−/* src-548 %jibb /tests/golden/types-unit-context/source/jibb
1967−/* tok-548 %txt /tests/golden/types-unit-context/tokens/txt
1968−/* tre-548 %txt /tests/golden/types-unit-context/tree/txt
1969−/* typ-548 %txt /tests/golden/types-unit-context/types/txt
1970−/* src-549 %jibb /tests/golden/types-unit-patterns/source/jibb
1971−/* tok-549 %txt /tests/golden/types-unit-patterns/tokens/txt
1972−/* tre-549 %txt /tests/golden/types-unit-patterns/tree/txt
1973−/* typ-549 %txt /tests/golden/types-unit-patterns/types/txt
1851+/* src-523 %jibb /tests/golden/types-union-finite-context/source/jibb
1852+/* tok-523 %txt /tests/golden/types-union-finite-context/tokens/txt
1853+/* tre-523 %txt /tests/golden/types-union-finite-context/tree/txt
1854+/* typ-523 %txt /tests/golden/types-union-finite-context/types/txt
1855+/* src-524 %jibb /tests/golden/types-union-finite-generic/source/jibb
1856+/* tok-524 %txt /tests/golden/types-union-finite-generic/tokens/txt
1857+/* tre-524 %txt /tests/golden/types-union-finite-generic/tree/txt
1858+/* typ-524 %txt /tests/golden/types-union-finite-generic/types/txt
1859+/* src-525 %jibb /tests/golden/types-union-finite-limit/source/jibb
1860+/* tok-525 %txt /tests/golden/types-union-finite-limit/tokens/txt
1861+/* tre-525 %txt /tests/golden/types-union-finite-limit/tree/txt
1862+/* typ-525 %txt /tests/golden/types-union-finite-limit/types/txt
1863+/* src-526 %jibb /tests/golden/types-union-import/source/jibb
1864+/* tok-526 %txt /tests/golden/types-union-import/tokens/txt
1865+/* tre-526 %txt /tests/golden/types-union-import/tree/txt
1866+/* mod-526-1 %jibb /tests/golden/types-union-import/modules/ui/lib/jibb
1867+/* typ-526 %txt /tests/golden/types-union-import/types/txt
1868+/* mtre-526 %txt /tests/golden/types-union-import/module-trees/txt
1869+/* src-527 %jibb /tests/golden/types-union-local-pending/source/jibb
1870+/* tok-527 %txt /tests/golden/types-union-local-pending/tokens/txt
1871+/* tre-527 %txt /tests/golden/types-union-local-pending/tree/txt
1872+/* typ-527 %txt /tests/golden/types-union-local-pending/types/txt
1873+/* src-528 %jibb /tests/golden/types-union-overlap/source/jibb
1874+/* tok-528 %txt /tests/golden/types-union-overlap/tokens/txt
1875+/* tre-528 %txt /tests/golden/types-union-overlap/tree/txt
1876+/* typ-528 %txt /tests/golden/types-union-overlap/types/txt
1877+/* src-529 %jibb /tests/golden/types-union-overlap-nested/source/jibb
1878+/* tok-529 %txt /tests/golden/types-union-overlap-nested/tokens/txt
1879+/* tre-529 %txt /tests/golden/types-union-overlap-nested/tree/txt
1880+/* typ-529 %txt /tests/golden/types-union-overlap-nested/types/txt
1881+/* src-530 %jibb /tests/golden/types-union-pattern-result-context/source/jibb
1882+/* tok-530 %txt /tests/golden/types-union-pattern-result-context/tokens/txt
1883+/* tre-530 %txt /tests/golden/types-union-pattern-result-context/tree/txt
1884+/* typ-530 %txt /tests/golden/types-union-pattern-result-context/types/txt
1885+/* src-531 %jibb /tests/golden/types-union-pattern-result-controls/source/jibb
1886+/* tok-531 %txt /tests/golden/types-union-pattern-result-controls/tokens/txt
1887+/* tre-531 %txt /tests/golden/types-union-pattern-result-controls/tree/txt
1888+/* typ-531 %txt /tests/golden/types-union-pattern-result-controls/types/txt
1889+/* src-532 %jibb /tests/golden/types-union-patterns/source/jibb
1890+/* tok-532 %txt /tests/golden/types-union-patterns/tokens/txt
1891+/* tre-532 %txt /tests/golden/types-union-patterns/tree/txt
1892+/* typ-532 %txt /tests/golden/types-union-patterns/types/txt
1893+/* src-533 %jibb /tests/golden/types-union-patterns-generic/source/jibb
1894+/* tok-533 %txt /tests/golden/types-union-patterns-generic/tokens/txt
1895+/* tre-533 %txt /tests/golden/types-union-patterns-generic/tree/txt
1896+/* typ-533 %txt /tests/golden/types-union-patterns-generic/types/txt
1897+/* src-534 %jibb /tests/golden/types-union-patterns-import/source/jibb
1898+/* tok-534 %txt /tests/golden/types-union-patterns-import/tokens/txt
1899+/* tre-534 %txt /tests/golden/types-union-patterns-import/tree/txt
1900+/* mod-534-1 %jibb /tests/golden/types-union-patterns-import/modules/ui/lib/jibb
1901+/* typ-534 %txt /tests/golden/types-union-patterns-import/types/txt
1902+/* mtre-534 %txt /tests/golden/types-union-patterns-import/module-trees/txt
1903+/* src-535 %jibb /tests/golden/types-union-phantom-generic/source/jibb
1904+/* tok-535 %txt /tests/golden/types-union-phantom-generic/tokens/txt
1905+/* tre-535 %txt /tests/golden/types-union-phantom-generic/tree/txt
1906+/* typ-535 %txt /tests/golden/types-union-phantom-generic/types/txt
1907+/* src-536 %jibb /tests/golden/types-union-print-cross-namespace/source/jibb
1908+/* tok-536 %txt /tests/golden/types-union-print-cross-namespace/tokens/txt
1909+/* tre-536 %txt /tests/golden/types-union-print-cross-namespace/tree/txt
1910+/* mod-536-1 %jibb /tests/golden/types-union-print-cross-namespace/modules/ui/lib/jibb
1911+/* typ-536 %txt /tests/golden/types-union-print-cross-namespace/types/txt
1912+/* mtre-536 %txt /tests/golden/types-union-print-cross-namespace/module-trees/txt
1913+/* src-537 %jibb /tests/golden/types-union-print-distinct/source/jibb
1914+/* tok-537 %txt /tests/golden/types-union-print-distinct/tokens/txt
1915+/* tre-537 %txt /tests/golden/types-union-print-distinct/tree/txt
1916+/* mod-537-1 %jibb /tests/golden/types-union-print-distinct/modules/ui/left/jibb
1917+/* mod-537-2 %jibb /tests/golden/types-union-print-distinct/modules/ui/right/jibb
1918+/* mod-537-3 %jibb /tests/golden/types-union-print-distinct/modules/ui/twin/jibb
1919+/* typ-537 %txt /tests/golden/types-union-print-distinct/types/txt
1920+/* mtre-537 %txt /tests/golden/types-union-print-distinct/module-trees/txt
1921+/* src-538 %jibb /tests/golden/types-union-print-escape/source/jibb
1922+/* tok-538 %txt /tests/golden/types-union-print-escape/tokens/txt
1923+/* tre-538 %txt /tests/golden/types-union-print-escape/tree/txt
1924+/* typ-538 %txt /tests/golden/types-union-print-escape/types/txt
1925+/* src-539 %jibb /tests/golden/types-union-print-local/source/jibb
1926+/* tok-539 %txt /tests/golden/types-union-print-local/tokens/txt
1927+/* tre-539 %txt /tests/golden/types-union-print-local/tree/txt
1928+/* typ-539 %txt /tests/golden/types-union-print-local/types/txt
1929+/* src-540 %jibb /tests/golden/types-union-print-nested/source/jibb
1930+/* tok-540 %txt /tests/golden/types-union-print-nested/tokens/txt
1931+/* tre-540 %txt /tests/golden/types-union-print-nested/tree/txt
1932+/* typ-540 %txt /tests/golden/types-union-print-nested/types/txt
1933+/* src-541 %jibb /tests/golden/types-union-print-same-origin/source/jibb
1934+/* tok-541 %txt /tests/golden/types-union-print-same-origin/tokens/txt
1935+/* tre-541 %txt /tests/golden/types-union-print-same-origin/tree/txt
1936+/* mod-541-1 %jibb /tests/golden/types-union-print-same-origin/modules/ui/shared/jibb
1937+/* typ-541 %txt /tests/golden/types-union-print-same-origin/types/txt
1938+/* mtre-541 %txt /tests/golden/types-union-print-same-origin/module-trees/txt
1939+/* src-542 %jibb /tests/golden/types-union-print-transitive/source/jibb
1940+/* tok-542 %txt /tests/golden/types-union-print-transitive/tokens/txt
1941+/* tre-542 %txt /tests/golden/types-union-print-transitive/tree/txt
1942+/* mod-542-1 %jibb /tests/golden/types-union-print-transitive/modules/ui/mid/jibb
1943+/* mod-542-2 %jibb /tests/golden/types-union-print-transitive/modules/ui/base/jibb
1944+/* typ-542 %txt /tests/golden/types-union-print-transitive/types/txt
1945+/* mtre-542 %txt /tests/golden/types-union-print-transitive/module-trees/txt
1946+/* src-543 %jibb /tests/golden/types-union-singleton/source/jibb
1947+/* tok-543 %txt /tests/golden/types-union-singleton/tokens/txt
1948+/* tre-543 %txt /tests/golden/types-union-singleton/tree/txt
1949+/* typ-543 %txt /tests/golden/types-union-singleton/types/txt
1950+/* src-544 %jibb /tests/golden/types-union-tag-atoms/source/jibb
1951+/* tok-544 %txt /tests/golden/types-union-tag-atoms/tokens/txt
1952+/* tre-544 %txt /tests/golden/types-union-tag-atoms/tree/txt
1953+/* typ-544 %txt /tests/golden/types-union-tag-atoms/types/txt
1954+/* src-545 %jibb /tests/golden/types-union-tags/source/jibb
1955+/* tok-545 %txt /tests/golden/types-union-tags/tokens/txt
1956+/* tre-545 %txt /tests/golden/types-union-tags/tree/txt
1957+/* typ-545 %txt /tests/golden/types-union-tags/types/txt
1958+/* src-546 %jibb /tests/golden/types-union-unresolved/source/jibb
1959+/* tok-546 %txt /tests/golden/types-union-unresolved/tokens/txt
1960+/* tre-546 %txt /tests/golden/types-union-unresolved/tree/txt
1961+/* typ-546 %txt /tests/golden/types-union-unresolved/types/txt
1962+/* src-547 %jibb /tests/golden/types-union-unresolved-flow/source/jibb
1963+/* tok-547 %txt /tests/golden/types-union-unresolved-flow/tokens/txt
1964+/* tre-547 %txt /tests/golden/types-union-unresolved-flow/tree/txt
1965+/* typ-547 %txt /tests/golden/types-union-unresolved-flow/types/txt
1966+/* src-548 %jibb /tests/golden/types-unit-construction/source/jibb
1967+/* tok-548 %txt /tests/golden/types-unit-construction/tokens/txt
1968+/* tre-548 %txt /tests/golden/types-unit-construction/tree/txt
1969+/* typ-548 %txt /tests/golden/types-unit-construction/types/txt
1970+/* src-549 %jibb /tests/golden/types-unit-context/source/jibb
1971+/* tok-549 %txt /tests/golden/types-unit-context/tokens/txt
1972+/* tre-549 %txt /tests/golden/types-unit-context/tree/txt
1973+/* typ-549 %txt /tests/golden/types-unit-context/types/txt
1974+/* src-550 %jibb /tests/golden/types-unit-patterns/source/jibb
1975+/* tok-550 %txt /tests/golden/types-unit-patterns/tokens/txt
1976+/* tre-550 %txt /tests/golden/types-unit-patterns/tree/txt
1977+/* typ-550 %txt /tests/golden/types-unit-patterns/types/txt
19741978=/ prepared-prelude (prepare-prelude:jibb prelude-source)
19751979|%
19761980:: one arm per case
@@ -3019,60 +3023,62 @@
30193023 (weld (check ~.types-union-context-flow src-521 `tok-521 `tre-521) (check-types ~.types-union-context-flow ~[%tests %golden ~.types-union-context-flow %source %jibb] src-521 `typ-521))
30203024++ test-types-union-finite
30213025 (weld (check ~.types-union-finite src-522 `tok-522 `tre-522) (check-module-types ~.types-union-finite ~[%tests %golden ~.types-union-finite %source %jibb] src-522 `typ-522 ~ ~ ~))
3026+++ test-types-union-finite-context
3027+ (weld (check ~.types-union-finite-context src-523 `tok-523 `tre-523) (check-module-types ~.types-union-finite-context ~[%tests %golden ~.types-union-finite-context %source %jibb] src-523 `typ-523 ~ ~ ~))
30223028++ test-types-union-finite-generic
3023− (weld (check ~.types-union-finite-generic src-523 `tok-523 `tre-523) (check-module-types ~.types-union-finite-generic ~[%tests %golden ~.types-union-finite-generic %source %jibb] src-523 `typ-523 ~ ~ ~))
3029+ (weld (check ~.types-union-finite-generic src-524 `tok-524 `tre-524) (check-module-types ~.types-union-finite-generic ~[%tests %golden ~.types-union-finite-generic %source %jibb] src-524 `typ-524 ~ ~ ~))
30243030++ test-types-union-finite-limit
3025− (weld (check ~.types-union-finite-limit src-524 `tok-524 `tre-524) (check-module-types ~.types-union-finite-limit ~[%tests %golden ~.types-union-finite-limit %source %jibb] src-524 `typ-524 ~ ~ ~))
3031+ (weld (check ~.types-union-finite-limit src-525 `tok-525 `tre-525) (check-module-types ~.types-union-finite-limit ~[%tests %golden ~.types-union-finite-limit %source %jibb] src-525 `typ-525 ~ ~ ~))
30263032++ test-types-union-import
3027− (weld (weld (check ~.types-union-import src-525 `tok-525 `tre-525) (check-module-types ~.types-union-import ~[%tests %golden ~.types-union-import %source %jibb] src-525 `typ-525 ~ ~ ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-525-1]])) (check-module-trees ~.types-union-import `mtre-525 ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-525-1]]))
3033+ (weld (weld (check ~.types-union-import src-526 `tok-526 `tre-526) (check-module-types ~.types-union-import ~[%tests %golden ~.types-union-import %source %jibb] src-526 `typ-526 ~ ~ ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-526-1]])) (check-module-trees ~.types-union-import `mtre-526 ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-526-1]]))
30283034++ test-types-union-local-pending
3029− (weld (check ~.types-union-local-pending src-526 `tok-526 `tre-526) (check-types ~.types-union-local-pending ~[%tests %golden ~.types-union-local-pending %source %jibb] src-526 `typ-526))
3035+ (weld (check ~.types-union-local-pending src-527 `tok-527 `tre-527) (check-types ~.types-union-local-pending ~[%tests %golden ~.types-union-local-pending %source %jibb] src-527 `typ-527))
30303036++ test-types-union-overlap
3031− (weld (check ~.types-union-overlap src-527 `tok-527 `tre-527) (check-types ~.types-union-overlap ~[%tests %golden ~.types-union-overlap %source %jibb] src-527 `typ-527))
3037+ (weld (check ~.types-union-overlap src-528 `tok-528 `tre-528) (check-types ~.types-union-overlap ~[%tests %golden ~.types-union-overlap %source %jibb] src-528 `typ-528))
30323038++ test-types-union-overlap-nested
3033− (weld (check ~.types-union-overlap-nested src-528 `tok-528 `tre-528) (check-types ~.types-union-overlap-nested ~[%tests %golden ~.types-union-overlap-nested %source %jibb] src-528 `typ-528))
3039+ (weld (check ~.types-union-overlap-nested src-529 `tok-529 `tre-529) (check-types ~.types-union-overlap-nested ~[%tests %golden ~.types-union-overlap-nested %source %jibb] src-529 `typ-529))
30343040++ test-types-union-pattern-result-context
3035− (weld (check ~.types-union-pattern-result-context src-529 `tok-529 `tre-529) (check-module-types ~.types-union-pattern-result-context ~[%tests %golden ~.types-union-pattern-result-context %source %jibb] src-529 `typ-529 ~ ~ ~))
3041+ (weld (check ~.types-union-pattern-result-context src-530 `tok-530 `tre-530) (check-module-types ~.types-union-pattern-result-context ~[%tests %golden ~.types-union-pattern-result-context %source %jibb] src-530 `typ-530 ~ ~ ~))
30363042++ test-types-union-pattern-result-controls
3037− (weld (check ~.types-union-pattern-result-controls src-530 `tok-530 `tre-530) (check-module-types ~.types-union-pattern-result-controls ~[%tests %golden ~.types-union-pattern-result-controls %source %jibb] src-530 `typ-530 ~ ~ ~))
3043+ (weld (check ~.types-union-pattern-result-controls src-531 `tok-531 `tre-531) (check-module-types ~.types-union-pattern-result-controls ~[%tests %golden ~.types-union-pattern-result-controls %source %jibb] src-531 `typ-531 ~ ~ ~))
30383044++ test-types-union-patterns
3039− (weld (check ~.types-union-patterns src-531 `tok-531 `tre-531) (check-module-types ~.types-union-patterns ~[%tests %golden ~.types-union-patterns %source %jibb] src-531 `typ-531 ~ ~ ~))
3045+ (weld (check ~.types-union-patterns src-532 `tok-532 `tre-532) (check-module-types ~.types-union-patterns ~[%tests %golden ~.types-union-patterns %source %jibb] src-532 `typ-532 ~ ~ ~))
30403046++ test-types-union-patterns-generic
3041− (weld (check ~.types-union-patterns-generic src-532 `tok-532 `tre-532) (check-module-types ~.types-union-patterns-generic ~[%tests %golden ~.types-union-patterns-generic %source %jibb] src-532 `typ-532 ~ ~ ~))
3047+ (weld (check ~.types-union-patterns-generic src-533 `tok-533 `tre-533) (check-module-types ~.types-union-patterns-generic ~[%tests %golden ~.types-union-patterns-generic %source %jibb] src-533 `typ-533 ~ ~ ~))
30423048++ test-types-union-patterns-import
3043− (weld (weld (check ~.types-union-patterns-import src-533 `tok-533 `tre-533) (check-module-types ~.types-union-patterns-import ~[%tests %golden ~.types-union-patterns-import %source %jibb] src-533 `typ-533 ~ ~ ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-533-1]])) (check-module-trees ~.types-union-patterns-import `mtre-533 ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-533-1]]))
3049+ (weld (weld (check ~.types-union-patterns-import src-534 `tok-534 `tre-534) (check-module-types ~.types-union-patterns-import ~[%tests %golden ~.types-union-patterns-import %source %jibb] src-534 `typ-534 ~ ~ ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-534-1]])) (check-module-trees ~.types-union-patterns-import `mtre-534 ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-534-1]]))
30443050++ test-types-union-phantom-generic
3045− (weld (check ~.types-union-phantom-generic src-534 `tok-534 `tre-534) (check-types ~.types-union-phantom-generic ~[%tests %golden ~.types-union-phantom-generic %source %jibb] src-534 `typ-534))
3051+ (weld (check ~.types-union-phantom-generic src-535 `tok-535 `tre-535) (check-types ~.types-union-phantom-generic ~[%tests %golden ~.types-union-phantom-generic %source %jibb] src-535 `typ-535))
30463052++ test-types-union-print-cross-namespace
3047− (weld (weld (check ~.types-union-print-cross-namespace src-535 `tok-535 `tre-535) (check-module-types ~.types-union-print-cross-namespace ~[%tests %golden ~.types-union-print-cross-namespace %source %jibb] src-535 `typ-535 ~ ~ ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-535-1]])) (check-module-trees ~.types-union-print-cross-namespace `mtre-535 ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-535-1]]))
3053+ (weld (weld (check ~.types-union-print-cross-namespace src-536 `tok-536 `tre-536) (check-module-types ~.types-union-print-cross-namespace ~[%tests %golden ~.types-union-print-cross-namespace %source %jibb] src-536 `typ-536 ~ ~ ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-536-1]])) (check-module-trees ~.types-union-print-cross-namespace `mtre-536 ~[['/ui/lib.jibb' ~[~.ui ~.lib ~.jibb] mod-536-1]]))
30483054++ test-types-union-print-distinct
3049− (weld (weld (check ~.types-union-print-distinct src-536 `tok-536 `tre-536) (check-module-types ~.types-union-print-distinct ~[%tests %golden ~.types-union-print-distinct %source %jibb] src-536 `typ-536 ~ ~ ~[['/ui/left.jibb' ~[~.ui ~.left ~.jibb] mod-536-1] ['/ui/right.jibb' ~[~.ui ~.right ~.jibb] mod-536-2] ['/ui/twin.jibb' ~[~.ui ~.twin ~.jibb] mod-536-3]])) (check-module-trees ~.types-union-print-distinct `mtre-536 ~[['/ui/left.jibb' ~[~.ui ~.left ~.jibb] mod-536-1] ['/ui/right.jibb' ~[~.ui ~.right ~.jibb] mod-536-2] ['/ui/twin.jibb' ~[~.ui ~.twin ~.jibb] mod-536-3]]))
3055+ (weld (weld (check ~.types-union-print-distinct src-537 `tok-537 `tre-537) (check-module-types ~.types-union-print-distinct ~[%tests %golden ~.types-union-print-distinct %source %jibb] src-537 `typ-537 ~ ~ ~[['/ui/left.jibb' ~[~.ui ~.left ~.jibb] mod-537-1] ['/ui/right.jibb' ~[~.ui ~.right ~.jibb] mod-537-2] ['/ui/twin.jibb' ~[~.ui ~.twin ~.jibb] mod-537-3]])) (check-module-trees ~.types-union-print-distinct `mtre-537 ~[['/ui/left.jibb' ~[~.ui ~.left ~.jibb] mod-537-1] ['/ui/right.jibb' ~[~.ui ~.right ~.jibb] mod-537-2] ['/ui/twin.jibb' ~[~.ui ~.twin ~.jibb] mod-537-3]]))
30503056++ test-types-union-print-escape
3051− (weld (check ~.types-union-print-escape src-537 `tok-537 `tre-537) (check-types ~.types-union-print-escape ~[%tests %golden ~.types-union-print-escape %source %jibb] src-537 `typ-537))
3057+ (weld (check ~.types-union-print-escape src-538 `tok-538 `tre-538) (check-types ~.types-union-print-escape ~[%tests %golden ~.types-union-print-escape %source %jibb] src-538 `typ-538))
30523058++ test-types-union-print-local
3053− (weld (check ~.types-union-print-local src-538 `tok-538 `tre-538) (check-types ~.types-union-print-local ~[%tests %golden ~.types-union-print-local %source %jibb] src-538 `typ-538))
3059+ (weld (check ~.types-union-print-local src-539 `tok-539 `tre-539) (check-types ~.types-union-print-local ~[%tests %golden ~.types-union-print-local %source %jibb] src-539 `typ-539))
30543060++ test-types-union-print-nested
3055− (weld (check ~.types-union-print-nested src-539 `tok-539 `tre-539) (check-types ~.types-union-print-nested ~[%tests %golden ~.types-union-print-nested %source %jibb] src-539 `typ-539))
3061+ (weld (check ~.types-union-print-nested src-540 `tok-540 `tre-540) (check-types ~.types-union-print-nested ~[%tests %golden ~.types-union-print-nested %source %jibb] src-540 `typ-540))
30563062++ test-types-union-print-same-origin
3057− (weld (weld (check ~.types-union-print-same-origin src-540 `tok-540 `tre-540) (check-module-types ~.types-union-print-same-origin ~[%tests %golden ~.types-union-print-same-origin %source %jibb] src-540 `typ-540 ~ ~ ~[['/ui/shared.jibb' ~[~.ui ~.shared ~.jibb] mod-540-1]])) (check-module-trees ~.types-union-print-same-origin `mtre-540 ~[['/ui/shared.jibb' ~[~.ui ~.shared ~.jibb] mod-540-1]]))
3063+ (weld (weld (check ~.types-union-print-same-origin src-541 `tok-541 `tre-541) (check-module-types ~.types-union-print-same-origin ~[%tests %golden ~.types-union-print-same-origin %source %jibb] src-541 `typ-541 ~ ~ ~[['/ui/shared.jibb' ~[~.ui ~.shared ~.jibb] mod-541-1]])) (check-module-trees ~.types-union-print-same-origin `mtre-541 ~[['/ui/shared.jibb' ~[~.ui ~.shared ~.jibb] mod-541-1]]))
30583064++ test-types-union-print-transitive
3059− (weld (weld (check ~.types-union-print-transitive src-541 `tok-541 `tre-541) (check-module-types ~.types-union-print-transitive ~[%tests %golden ~.types-union-print-transitive %source %jibb] src-541 `typ-541 ~ ~ ~[['/ui/mid.jibb' ~[~.ui ~.mid ~.jibb] mod-541-1] ['/ui/base.jibb' ~[~.ui ~.base ~.jibb] mod-541-2]])) (check-module-trees ~.types-union-print-transitive `mtre-541 ~[['/ui/mid.jibb' ~[~.ui ~.mid ~.jibb] mod-541-1] ['/ui/base.jibb' ~[~.ui ~.base ~.jibb] mod-541-2]]))
3065+ (weld (weld (check ~.types-union-print-transitive src-542 `tok-542 `tre-542) (check-module-types ~.types-union-print-transitive ~[%tests %golden ~.types-union-print-transitive %source %jibb] src-542 `typ-542 ~ ~ ~[['/ui/mid.jibb' ~[~.ui ~.mid ~.jibb] mod-542-1] ['/ui/base.jibb' ~[~.ui ~.base ~.jibb] mod-542-2]])) (check-module-trees ~.types-union-print-transitive `mtre-542 ~[['/ui/mid.jibb' ~[~.ui ~.mid ~.jibb] mod-542-1] ['/ui/base.jibb' ~[~.ui ~.base ~.jibb] mod-542-2]]))
30603066++ test-types-union-singleton
3061− (weld (check ~.types-union-singleton src-542 `tok-542 `tre-542) (check-types ~.types-union-singleton ~[%tests %golden ~.types-union-singleton %source %jibb] src-542 `typ-542))
3067+ (weld (check ~.types-union-singleton src-543 `tok-543 `tre-543) (check-types ~.types-union-singleton ~[%tests %golden ~.types-union-singleton %source %jibb] src-543 `typ-543))
30623068++ test-types-union-tag-atoms
3063− (weld (check ~.types-union-tag-atoms src-543 `tok-543 `tre-543) (check-types ~.types-union-tag-atoms ~[%tests %golden ~.types-union-tag-atoms %source %jibb] src-543 `typ-543))
3069+ (weld (check ~.types-union-tag-atoms src-544 `tok-544 `tre-544) (check-types ~.types-union-tag-atoms ~[%tests %golden ~.types-union-tag-atoms %source %jibb] src-544 `typ-544))
30643070++ test-types-union-tags
3065− (weld (check ~.types-union-tags src-544 `tok-544 `tre-544) (check-types ~.types-union-tags ~[%tests %golden ~.types-union-tags %source %jibb] src-544 `typ-544))
3071+ (weld (check ~.types-union-tags src-545 `tok-545 `tre-545) (check-types ~.types-union-tags ~[%tests %golden ~.types-union-tags %source %jibb] src-545 `typ-545))
30663072++ test-types-union-unresolved
3067− (weld (check ~.types-union-unresolved src-545 `tok-545 `tre-545) (check-types ~.types-union-unresolved ~[%tests %golden ~.types-union-unresolved %source %jibb] src-545 `typ-545))
3073+ (weld (check ~.types-union-unresolved src-546 `tok-546 `tre-546) (check-types ~.types-union-unresolved ~[%tests %golden ~.types-union-unresolved %source %jibb] src-546 `typ-546))
30683074++ test-types-union-unresolved-flow
3069− (weld (check ~.types-union-unresolved-flow src-546 `tok-546 `tre-546) (check-types ~.types-union-unresolved-flow ~[%tests %golden ~.types-union-unresolved-flow %source %jibb] src-546 `typ-546))
3075+ (weld (check ~.types-union-unresolved-flow src-547 `tok-547 `tre-547) (check-types ~.types-union-unresolved-flow ~[%tests %golden ~.types-union-unresolved-flow %source %jibb] src-547 `typ-547))
30703076++ test-types-unit-construction
3071− (weld (check ~.types-unit-construction src-547 `tok-547 `tre-547) (check-module-types ~.types-unit-construction ~[%tests %golden ~.types-unit-construction %source %jibb] src-547 `typ-547 ~ ~ ~))
3077+ (weld (check ~.types-unit-construction src-548 `tok-548 `tre-548) (check-module-types ~.types-unit-construction ~[%tests %golden ~.types-unit-construction %source %jibb] src-548 `typ-548 ~ ~ ~))
30723078++ test-types-unit-context
3073− (weld (check ~.types-unit-context src-548 `tok-548 `tre-548) (check-module-types ~.types-unit-context ~[%tests %golden ~.types-unit-context %source %jibb] src-548 `typ-548 ~ ~ ~))
3079+ (weld (check ~.types-unit-context src-549 `tok-549 `tre-549) (check-module-types ~.types-unit-context ~[%tests %golden ~.types-unit-context %source %jibb] src-549 `typ-549 ~ ~ ~))
30743080++ test-types-unit-patterns
3075− (weld (check ~.types-unit-patterns src-549 `tok-549 `tre-549) (check-types ~.types-unit-patterns ~[%tests %golden ~.types-unit-patterns %source %jibb] src-549 `typ-549))
3081+ (weld (check ~.types-unit-patterns src-550 `tok-550 `tre-550) (check-types ~.types-unit-patterns ~[%tests %golden ~.types-unit-patterns %source %jibb] src-550 `typ-550))
30763082::
30773083:: +check: run golden:jibb on a case and compare both outputs
30783084::